Write a program that uses a motion sensor, an RGB LED, and a photoresistor (light sensor) as follows: When motion is det
Posted: Fri Apr 29, 2022 6:40 am
Hello i need the solution using c++ arduino with the
desgin as soon as possible
Write a program that uses a motion sensor, an RGB LED, and a photoresistor (light sensor) as follows: When motion is detected: o If the room is dark then the RGB LED will show the yellow color. o If there is light in the room then the RGB LED will show the white color. When there is no motion the RGB LED will be off and o If the room is dark then “Good night” will be displayed in the serial monitor once. o If there is light in the room then “No one here” will be displayed in the serial monitor once.
desgin as soon as possible
Write a program that uses a motion sensor, an RGB LED, and a photoresistor (light sensor) as follows: When motion is detected: o If the room is dark then the RGB LED will show the yellow color. o If there is light in the room then the RGB LED will show the white color. When there is no motion the RGB LED will be off and o If the room is dark then “Good night” will be displayed in the serial monitor once. o If there is light in the room then “No one here” will be displayed in the serial monitor once.