Hi,
I tried the same thing and I wanted to use something else. Instead of the button I added a photo sensor [Light sensor] I am not that good in coding, may I have the code of that please?
Thank you!
P.S. When light is off, the digital hour glass should work (When the room light is off, Lights on with a delay of 3 seconds for each LED, When all LED's are on keep them that way. When the room light is on then LED go off)
Hi,
I wanted to make the digital hour glass but instead of the tilt switch I added a photo sensor [Light sensor] I am not that good in coding, may I have the code of that please?
Thank you!
What I would like it to do: When bedroom light is ON, turn of all LED's in the digital hourglass. When bedroom light is OFF, Turn the lights on the breadboard on, one by one with a delay of 3 seconds. When all lights are on, wait until the bedroom light is ON then off the lights again.
Thank you so much,
Please reply with the FULL code!
Hi,
I want to make the digital hourglass and I want to use something else. Instead of the tilt sensor I added a photo sensor [Light sensor] I am not that good in coding, may I have the code of that please?
Thank you!
~When room light is on do nothing / turn off all LED'S
~When room light is off work the digital hourglass
Comment the full code below!
Thanks.