Donate SIGN UP

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

Avatar Image
Hisham | 19:21 Tue 07th Dec 2021 | Technology
4 Answers
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”.
Gravatar

Answers

1 to 4 of 4rss feed

Best Answer

No best answer has yet been selected by Hisham. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
When's it due?
What's your question?
What The Funicular?
-- answer removed --

1 to 4 of 4rss feed

Do you know the answer?

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

Answer Question >>

Related Questions

Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.