I just added the "digitalRead (ldr)" to the "void loop" but it does no work.
Yes, but you have to check what the return value is.
You did that, right?
I just added the "digitalRead (ldr)" to the "void loop" but it does no work.
Yes, but you have to check what the return value is.
You did that, right?