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 11:30
Hassan is writing his master’s thesis, which is a thirty-page document. he received some feedback from his professor in the form of comments, but does not see where the comments are. what is the fastest way for hassan to find the feedback?
Answers: 3
question
Computers and Technology, 23.06.2019 09:10
Effective character encoding requires standardized code. compatible browsers. common languages. identical operating systems.
Answers: 1
question
Computers and Technology, 23.06.2019 11:20
Http is the protocol that governs communications between web servers and web clients (i.e. browsers). part of the protocol includes a status code returned by the server to tell the browser the status of its most recent page request. some of the codes and their meanings are listed below: 200, ok (fulfilled)403, forbidden404, not found500, server errorgiven an int variable status, write a switch statement that prints out the appropriate label from the above list based on status.
Answers: 2
question
Computers and Technology, 23.06.2019 17:00
The camera still is bad even with the new iphone xr and especially in low light it is even worst because you can see the pixels more if its in low light. if all you apple customers want apple to fix this then lets fill there feedback with complaints about the can apple do to fix this issue?
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
Computers and Technology, 20.01.2020 19:31
question
Biology, 20.01.2020 19:31
question
Mathematics, 20.01.2020 19:31
question
Mathematics, 20.01.2020 19:31
question
Mathematics, 20.01.2020 19:31