Question: Exercise 4 : Program the following for a prospective arduino project: Required Instructions pinMode ( pin , INPUT _ PULLUP ) delay ( ) ,
Exercise : Program the following for a prospective arduino project:
Required Instructions
pinModepin INPUTPULLUP
delay
analogWrite
digitalRead
if
tone
noTone
Serial.begin
Serial.print
Serial.println
Serial.available
Serial.read
switch case
Write a program that uses the serial port at a speed of bps
If the button is pressed the program will print your first name
If the button is pressed the program will print your last name
You will constantly check the serial port when you receive a character, an action will be taken.
tableCharActionZBuzzer will play KHz soundzBuzzer will stop
Open the serial monitor to check the operation of your program
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
