News3 mins ago
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
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”.
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”.
Answers
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.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.