Week 1 – IPC

September 15th, 2010 in Home Categories by 1 Comment

Digital Input and Output with an Arduino

Lab:

Get Creative:
Arduino Code

The original code was modified to give “life” to a second button. I also modified it so after every 3 seconds for 9 seconds, another LED in the groups turns on. Each button controls three LED’s. When both buttons are pressed for longer than 9 seconds, the blue LED (the middle one) lights up. If both buttons continued to be pressed, the green & red LED’s give a little light show.

Author: ezraezra

I see you looking...

One Comment

I like the rock ‘n roll button pushing.
I also like when the big led comes on in the middle, truly magical.

nice job

Tom Gerhardt

9/19/2010

Leave a Reply