Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. Exercisel 1. Requirement(s) a. Create a program that blinks an attached LED a number of times at digital port 8 depending on the keyboard
1. Exercisel 1. Requirement(s) a. Create a program that blinks an attached LED a number of times at digital port 8 depending on the keyboard input. i. Keyboard input is 'a then LED blinks once ii. Keyboard input is 'b' then LED blinks twice iii. Keyboard input is 'c' then LED blinks three times iv. Keyboard input is anything but 'a', 'b or 'c' then LED blinks 5 times and an error message is sent to your serial monitor. b. The LED blink rate is 500ms on, 500ms off. c. An integer array must be used to contain the "Blinks" that will be passed to the Blink loop. d. A switch statement must be used to select the "Blinks" from the array when keyboard input is received. e. You must create a Blink" loop f. You must create a custom function. g. The main loop is endless. i.e. after a blink sequence the program looks for more keyboard input... and the cycle continues. 1. Exercisel 1. Requirement(s) a. Create a program that blinks an attached LED a number of times at digital port 8 depending on the keyboard input. i. Keyboard input is 'a then LED blinks once ii. Keyboard input is 'b' then LED blinks twice iii. Keyboard input is 'c' then LED blinks three times iv. Keyboard input is anything but 'a', 'b or 'c' then LED blinks 5 times and an error message is sent to your serial monitor. b. The LED blink rate is 500ms on, 500ms off. c. An integer array must be used to contain the "Blinks" that will be passed to the Blink loop. d. A switch statement must be used to select the "Blinks" from the array when keyboard input is received. e. You must create a Blink" loop f. You must create a custom function. g. The main loop is endless. i.e. after a blink sequence the program looks for more keyboard input... and the cycle continues
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started