Read solar panels a button?

Daz1712:
LDR are not Logic they are Analogue.

If they are wired with another resistor to make a voltage divider and if there is a significant difference between light levels they can be detected with digitalRead() - much simpler than using analogRead()

...R