Ldr Based Counter

Ldr Based Counter







Let's know the basics :-

A photoresistor or light-dependent resistor (LDR) or photocell is a light-controlled variable resistor. The resistance of a photoresistor decreases with increasing incident light intensity; in other words, it exhibits photoconductivity.




Code :-



3 Comments

  1. Hi

    I'm really intrested in this counter, please can you forward the wiring diergram
    132059gary@gmail.com

    Regards
    Gary

    ReplyDelete
  2. Can you tell me the accuracy of this project ?

    ReplyDelete
  3. Hai, hope you can see my message. I have read through your code, and I have doubts on the bool state part. Why are you using bool? Can you do further explanation to me?

    ReplyDelete