Coding Horror

programming and human factors

BetaBrite LED Sign API completed

As I mentioned in Automated Continuous Integration and the BetaBrite LED Sign:

I'm currently working on some .NET classes that wrap a BetaBrite-specific subset of the Alpha Sign Communications Protocol. This requires serial communication via a 25 or 50 foot RS-232 serial to RJ-12 cable, so you'll need a physical PC with either a serial port or a USB-to-Serial adapter to get this working.

This is now ready for public consumption. I posted it as a new article on CodeProject, BetaBrite LED Sign API - A simple API for controlling a BetaBrite LED sign via RS-232 serial commands. Here's a sample:

Dim bb As New BetaBrite.Sign(1)
With bb
.Open()
.UseMemoryText("D"c, 128)
.UseMemoryText("E"c, 128)
.UseMemoryText("F"c, 128)
.AllocateMemory()
.SetText("D"c, _
"<font=five><color=green>This is <font=seven>file D", _
Transition.Rotate)
.SetText("E"c, _
"<font=five><color=yellow>This is <font=seven>file E", _
Transition.WipeLeft)
SetText("F"c, _
"<font=five><color=red>time is <calltime>", _
Transition.RollDown)
.SetRunSequence("EDF")
.Close()
End With

It really came out nicely. Now go get you some of that sweet, hot LED sign action!

Written by Jeff Atwood

Indoor enthusiast. Co-founder of Stack Overflow and Discourse. Disclaimer: I have no idea what I'm talking about. Find me here: https://infosec.exchange/@codinghorror