Create program that waits for a button press to blink an led


Problem:

Question- Create a program that waits for a button press to blink an LED at a rate of two times a second for ten times. The program should use a DO....LOOP with an IF statement to check for a button press. When the button is pressed, the program should then use the GOTO command to jump to a different section of code that causes the LED to blink ten times (use a FOR loop) and then stop. Use a label called "BLINK" with the GOTO command so program knows where to jump to in your code.

Please show code with comments so I can follow what you are doing.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create program that waits for a button press to blink an led
Reference No:- TGS0894029

Expected delivery within 24 Hours