posted on
Sunday, March 30, 2008 4:38 PM |
Andy Konkol and myself are attending Maker Faire this year. I'm doing the skateboard segway and he is doing a LED sign mirror.
Jeff Atwood of Coding Horror fame created an API wrapper for the beta brite signs a while back in VB.Net 1.1 and after hearing Konkol swear one too many times, I ported it to c# for him.
Jeff does have a Protocol.vb file that personally, I would have broken down into individual files. There are about 10 classes in there and a ton of enums. I just felt dirty porting it as is. Or maybe that was dealing with Visual Basic.
I also swapped out the DBComm class for the SerialPort class built into .Net 2.0 and up. For those who aren't in the know, .Net 2.0, 3.0, and 3.5 are all built on the same "core" so it makes it rather easy to go in between the 3 versions.
After doing this, I realized VB has some REALLY awesome built in features such as the optional tag in a method / constructor. However porting this caused a slight headache since the transcoder I was using didn't like that keyword at all.
I'll post a link to the Beta Brite stuff as soon as Andy cranked out the rest of it. Plus to be honest, I just ported it, I don't know if it fully works until Andy says it does.
I did a beta brite sign thing way back that would scroll the song that WinAmp was currently playing. I think mine is currently at my parent's house still streaming "I didn't sell out, I'm acquiring the skills and knowledge to sell out". Oh how true that is.