Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions

Question

What are the classifications of Bank?

Answered: 1 week ago