Gadgeteer LED Matrix Module Demo
- Posted: Jun 14, 2012 at 7:15 PM
- 2,195 Views
Right click “Save as…”
Quick demo of the new (NOTE: this module only works with .NET Micro Framework 4.2, and the driver is still in beta at the time of this writing) LED Matrix module for .NET Gadgeteer, manufactured by GHI Electronics. The module, which is based on the DaisyLink protocol, and contains its own microprocessor (which can be flashed and reprogrammed, if desired) provides an 8x8 matrix of red LEDs for displaying patterns or glyphs.
In this video, I am using a helper class I wrote to display "HELLO WORLD". The driver for the module exposes a single API, DrawBitmap, which takes as an argument a byte array representing the on/off pattern for the LEDs. To make working with the module simpler, I wrote a class with a series of static properties that return the byte array for the uppercase English letters A-Z and numbers 0-9.
To generate the byte arrays required for each letter, I wrote up a quick and dirty HTML and JavaScript utility that displays an 8x8 array of checkboxes, which you can use to create the desired glyph, and which automatically provides the correctly-formatted byte array for use with the LED Matrix module.
With my helper class, I simply create an ArrayList of the letters I want to display, then loop through the ArrayList, displaying each letter in turn. I've named the letters using the NATO phonetic alphabet to make the API intuitive without using single letter property names.
Links:
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?