Can someone help?
Write 1-6 lines of code for use in the main function on the Arduino so that execution will only continue past your lines of code when the listed conditions are met. You can assume digital pin 10 has already been set up with mode INPUT_PULLUP and digital pin 13 with OUTPUT.
Execution only continues after button 10 is pressed and released fifty times. While the program is waiting for these fifty presses, the LED on pin 13 should also be turned on whenever the button is being pressed and be turned off whenever the button is not being pressed.