I found Jeff Atwood’s library, described in an article on codeproject.com. It’s written for .NET 1.1, so I did some slight refactoring to ensure it would compile in VS2005+ and replaced the included class for serial communication with the built-in .NET 2.0+ support. Also implemented a few tweaks/fixes removing a few hardcoded values.
I got Jeff’s approval to put the updated code on googlecode. I initially committed Jeff’s original code, and then committed changes incrementally to ensure anyone can easily identify the changes made using SVN DIFF. I captured the list of enhancements/fixes in the Googlecode issue tracker (marked as done) and added a list of potential future improvements.
Feel free to request commit-status to the repo if you have enhancements.
Here are the details:
- betabrite-api-dotnet on Googlecode
- Jeff’s description of the library; it’s classes and the Betabrite protocol
- Fixed issues / work done, on googlecode
- Open issues / potential improvements on googlecode

4 comments:
Hello Sune,
Just wanted to say thankyou to you and Jeff Atwood for all your work on this project. I have a Spectrum 4200c board which I have managed to communicate with, I am still unclear on how a few things work as I am not a programmer but will persevere. Thanks Again regards smithyc
How do you get this class working with the USB models?
@David; assuming you mean betabrite USB models, I really don't know. If the communication protocol is similar, then it'll probably make sense to amend/extend this code-base. Though, I'd imagine that they'll have evolved their spec by then - the betabrite I was playing with was waayyy before usb ;)
Adaptive have finally released a working set of .net examples including a USB driver. -Stonie
http://www.adaptivedisplays.com/Documentation/questions.php?questionid=149
Post a Comment