subject

You are going to create an Arduino sketch where you have two push buttons, one piezo, one photoresistor sensor and two LEDs: Red and Green.

When the sketch starts, the Serial Monitor displays "Enter a number: ".

οƒ˜ If the number entered is 1, the red LED should turn on and the piezo will play a sound
only one time for 400ms.
οƒ˜ If the number entered is 2, the red LED should turn off
οƒ˜ If the number entered is greater than 3 the LEDs should blink only one time.
οƒ˜ The first push button should turn on the LEDs.
οƒ˜ The first push button should turn off the LEDs.
οƒ˜ If the value of the photoresistor is not between 400 and 700 the LEDs should blink.
οƒ˜ The sketch should print the value entered by the user and the value of the
photoresistor.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:30
Auniversity wants to install a client-server network. which feature do you think is important for them as they set up the network? sending email blocking multiple people to use the same file low security low set up cost limited access to files
Answers: 1
question
Computers and Technology, 22.06.2019 17:30
Which tab should you open to find the option for adding a header?
Answers: 1
question
Computers and Technology, 23.06.2019 12:10
2. fabulously fit offers memberships for$35 per month plus a $50 enrollmentfee. the fitness studio offersmemberships for $40 per month plus a$35 enrollment fee. in how many monthswill the fitness clubs cost the same? what will the cost be?
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
The basic work area of the computer is it screen that you when you first fire up your computer
Answers: 1
You know the right answer?
You are going to create an Arduino sketch where you have two push buttons, one piezo, one photoresi...
Questions
question
Physics, 16.02.2021 04:30
question
Mathematics, 16.02.2021 04:30
question
Mathematics, 16.02.2021 04:30
question
English, 16.02.2021 04:30
question
Mathematics, 16.02.2021 04:30
Questions on the website: 13722360