Question
Homework 2 Arduino Serial Input and Output Modify the code provided in class to achieve the followings. You can choose either option to complete. Students
Homework 2
Arduino Serial Input and Output
Modify the code provided in class to achieve the followings. You can choose either option to complete. Students who choose option 2 can have 1 bonus point on the total grade of this class. For example, if your accumulated final grade is 89, having this point will make it 90.
Option 1:
In the Serial Monitor, the user should see the question. What is the first digit of your age? Then the Serial Monitor waits the user to enter one number. Lets use m to refer to this number. After that, the user should see the question. What is the second digit of your age? Then the Serial Monitor waits the user to enter one number. Lets use n to refer to this number. After the numbers are entered. The red LED should blink m times and the yellow LED should blink n times. The serial monitor should produce something like the following.
Please print out your unique serial output here as my example and paste your code in this document. Then turn in the word file through blackboard link.
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