One Button Simon: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 10: Line 10:


Record a sequence of button presses (and releases) and have the arduino play back the pattern on the speaker.
Record a sequence of button presses (and releases) and have the arduino play back the pattern on the speaker.
== Exercise ==
Write code to translate the presses from the user to a fixed pattern

Revision as of 16:11, 9 November 2010

Exercise

Create a program to time how long the user presses a push button.

Starting code / circuit:

http://arduino.cc/en/Tutorial/Button

Exercise

Record a sequence of button presses (and releases) and have the arduino play back the pattern on the speaker.

Exercise

Write code to translate the presses from the user to a fixed pattern