Tuesday, 21 August 2012

Red and green LEDs replace display.


In the place of the 7-segment display, we decided to include a pair of LEDs; one red, one green. To achieve this I wired them in the same way as the blinking LED tutorial, and then patched the code across so that the red LED would accept the same input as the buzzer, and the green would take the input of the victory tune. This proved relatively simple, the only obstacle being the void loop at the end of the audio coding, which needed to be deleted.

No comments:

Post a Comment