A simple Simon Says game using a Grove Base Shield, 3 Grove LED Bars, 1 Grove Buzzer, and 3 Grove Buttons.
Components Used
Platform: ST-Nucleo-F401RE
Component Configuration
LED_Bar mid(D6, D5); //D5 LED_Bar right(D8, D7); //D7 LED_Bar left(D4, D3); //D3 InterruptIn button_left(A2); InterruptIn button_mid(A1); InterruptIn button_right(A0); DigitalOut buzzer(D2);
Gallery
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
12:73cbf84ee24a | 2016-08-19 | jplunkett | fixed grammar |
11:2307c5edf18f | 2016-08-19 | jplunkett | added more comments |
10:9d48af13dbd0 | 2016-08-19 | jplunkett | updated start level sounds |
9:ac887bf9f85d | 2016-08-19 | jplunkett | added buzzer sound to start_level |
8:7be76afe5597 | 2016-08-19 | jplunkett | pretty code/working game |
7:b2576b2b916e | 2016-08-19 | jplunkett | fixed level/sequence bug |
6:1c87edbbafe0 | 2016-08-19 | jplunkett | prettified |
5:b6f37ce2a9a3 | 2016-08-18 | jplunkett | added start game interrupts, animations, etc. |
4:9950f9ec46cf | 2016-08-18 | jplunkett | added button interrupts |
3:96879db74ec8 | 2016-08-18 | jplunkett | cleaned up main function |
2:8ff96f7acb45 | 2016-08-17 | jplunkett | prep for start up and randomization |
1:1aca092ceb7e | 2016-08-17 | jplunkett | simon says init |
0:67efb4657416 | 2016-08-17 | jplunkett | init |