SmartPixels

ColorSample.jpg
One of those things I’ve been playing with intermittently just came to fruition: SmartPixels. Cheerful little LED+Microcontroller widgets which light up in interesting ways. All the code is written in a modular way so it is easy for me (or anyone else) to add sensors to the two remaining pins, or modify the behavior in other ways. Full source is available at the page above.

The biggest holdup in completing this little project was not actually the result of a difficult problem, but me forgetting, AGAIN, that when writing code for AVRs, any variable accessed inside an interrupt service routine MUST be marked volatile , or it will be treated as invariant by the compiler.

If I can figure out a convienent way to post video I will, even the simple color fade behavior I currently have loaded is mesmerizing.

This entry was posted in Electronics, General, OldBlog and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *