I am trying to use an LDR as an input, and have read the analogue switches help sheet etc.
I have run a debug program to find the average max value for a room and a good low value for when the LDR is covered by a hand.
But I am having trouble when it comes to programming. I want it to light an...