Simple LED memory game using Arduino
  Simple LED memory game - (also known as Repeat after me!)     LEDs light up with corresponding musical notes in a randomized sequence. Press the buttons in the same sequence to win a round. Starting difficulty level is configurable, as is the number of rounds you win before the difficulty level increases.   Credits - tim.id.au/arduino/    Image of the completed project        Schematics       Video of the game            The Code -     /*     "That memory game" - "Simon" clone using an Arduino kit     LEDs light up with corresponding musical notes in a randomised sequence. Press the    buttons in the same sequence to win a round. Starting difficulty level is configurable, as is the number    of rounds you win before the difficulty level increases.     tim.id.au/arduino/    30/11/2013   */   // Digital pin definitions  int leds[] = {10, 9, 8, 7}; // digital pins for green LEDs 1-4 and red LED  int led = 11;  int buttons[] = {6, 5, 4, 3}; // digital pi...
 
  
 
 
Comments
Post a Comment