Light switch and Serial monitor with counter
This program works with the light circuit and the switch circuit. When you open and connect the serial monitor and press the switch, the led will light up and the serial monitor will show how many times you press the switch.