subject

Design your project as follows: put the LEDs, the piezo and the sensor on the breadboard, connect the LEDs to different pins, piezo and the temperature sensor to the required pin. When the sketch starts, it should display a message in the Serial Monitor asking you to enter a value: YourName (for example, Fadi), or YourID (for example, 21930213) or YourFamilyName (for example, Waked). The program should display the entered value, the Celsius temperature and which LED is ON in the serial monitor. If you enter YourName, press Enter, the Yellow LED should be turned on and all the required values should appear in the serial monitor, If you enter YourID, press Enter, the Green LED should be turned on and all the required values should appear in the serial monitor, if you enter YourFamilyName, press Enter, the Blue LED should be turned on and all the required values should appear in the serial monitor (see the sample run), otherwise the piezo should play a tone and this message will appear in the serial monitor: “You should enter yourName, ID or familyName”.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:40
Reading characters and strings from the keyboard: consider the following c++ program 1. #include 2. #include 3. using namespace std; 4. mystring1 5. 6. int main() 7. { 8. 9. string mystring1, mystring2; mychar1 10. 11. 12. char mychar1, mychar2; 13. 14. cout< < "enter a string: "; mychar2 15. 16. cin> > mystring1; // 17. cin.get(mychar1); 18. cin> > mychar2; 19. getline(cin,mystring2); mystring2 20. 21. 22. cout<
Answers: 1
question
Computers and Technology, 22.06.2019 15:00
Atool that matches persoal skills qualities interests and talets to a career is called a
Answers: 1
question
Computers and Technology, 23.06.2019 12:40
Curriculum exam to process a resident's payment, you must click on onesite payments home page. from the a. reports b. my settings o c.transactions o d. rent tab
Answers: 1
question
Computers and Technology, 24.06.2019 03:00
Click the "draw structure" button to activate the drawing utility. draw two diastereomers of (1z,4r)−1,4−dimethylcyclodecene and name them, including (e)/(z) and (r)/(s) notation. part 1 out of 4 draw the diastereomer containing a chiral center with s configuration here. window open
Answers: 1
You know the right answer?
Design your project as follows: put the LEDs, the piezo and the sensor on the breadboard, connect th...
Questions
question
Mathematics, 01.09.2020 14:01
question
Business, 01.09.2020 14:01
question
Advanced Placement (AP), 01.09.2020 14:01
question
Mathematics, 01.09.2020 14:01
question
Social Studies, 01.09.2020 14:01
Questions on the website: 13722363