4. Counter
It counts the times a button connected to Arduino input 7 is pressed whenever
we have we light the LED connected at output 13. The value of the variable that
stores the number of pulses generated is sent to the PC so that it is displayed
on the screen.
10 K
13
13