Page 1 of 1

Write a program that uses a motion sensor, an RGB LED, and a photoresistor (light sensor) as follows: • When motion is d

Posted: Fri Apr 29, 2022 6:39 am
by answerhappygod
Write A Program That Uses A Motion Sensor An Rgb Led And A Photoresistor Light Sensor As Follows When Motion Is D 1
Write A Program That Uses A Motion Sensor An Rgb Led And A Photoresistor Light Sensor As Follows When Motion Is D 1 (59.04 KiB) Viewed 69 times
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.