Arduino Contol Fails

@Paul

The sensor is an LDR

  1. LDR never gives a 0 value so I have used the <0

  2. 100 is used so that it may detact the day light!

  3. Fail - condition is used to detect if LDR is functioning or not!

  4. How about you join a school?

Learn the Code or at least try to READ!
I have not seen in past couple of years someone advising me so dumb!!! So for future if you know nothing then atleast don't increase someone's hurdle more!