Deliverable A
Deliverable B
Modify your code from A to use an interrupt service routine. HINT: you may need to look into button debouncing: https://docs.arduino.cc/built-in-examples/digital/Debounce/
Deliverable C
Use the same circuit setup as in B. Write code that counts the number of times the button is pressed and repeatedly blinks the LED the number of times counted. Specifically:
Demo