White LED Box
I wrote up a blog entry with much great detail and pics but didn’t want to include all of that here as it would be reruns for most of the people in class.
Here’s my first iteration of the LED enclosure assignment.
And here is the second iteration, now incorporating sound.
naterudolph 11:20 pm on February 16, 2012 Permalink |
I was out of town til Wednesday this week, so when I found out we had an assignment for Thursday’s class my main concern was just getting something presentable. I was surprised at how quickly I was able to get a working prototype with some cardboard and the wire wrap tool. Thankfully everything was laid out neatly with the header pins so I was able to test the code and ensure there weren’t any short circuits.
The code was actually the portion that took longer than I assumed it might. Making the whole series of LEDs do something was simple enough with a for loop, but trying to do any sort of pattern proved a little more counter intuitive. Using the fade code from Monday’s class I was able to add some variety to that simple sequence of LEDs turning on into something different for the “waking up” function of the box.