an Arduino Program with 1 LEDs and 2 buttons
Button 1 : pressing the button Starts or stops reading the status of Button2.
Button 2 : Tap the button for any number of times.
The ON/OFF sequence of Button 2 should be the sequence seen in the LED.
E.g. If Button2 is pressed in following sequence ON-600 OFF-400 ON-500 OFF-3000, the LED should blink with same sequence.
assignment_6a.ino (886 Bytes)