Read: Lesson 2: Pressing Button to Light Up LED
Build this CodeCraft sketch ➡
Modify the Arduino sketch to do something different, such as:
blink the LED 5 times when you press the button
blink the LED 2 times when you release the button
your ideas?