Simple Simon says mbed game which makes random queue, shows it with onboard LEDs and takes user input with push buttons.
Dependencies: PinDetect mbed beep
Diff: Simon.h
- Revision:
- 2:0b6e10420ce2
- Parent:
- 1:fb29354d9073
--- a/Simon.h Wed Feb 04 09:12:38 2015 +0000 +++ b/Simon.h Wed Feb 04 10:35:15 2015 +0000 @@ -22,7 +22,7 @@ static PinDetect button[]; static DigitalOut led[]; vector<int> queue; - int i, test_val; + int i, test_val, first_turn; bool button_press, run; unsigned int turn; };