Hi
how can i get a LDR connected to an input on 16F1509. So that when the volt drops or pastca value the MCU do something.
can i just connect from 5v thrue the LDR and another Resistor to ground and the the MCU can mesure the voltage ??
how can i get a LDR connected to an input on 16F1509. So that when the volt drops or pastca value the MCU do something.
can i just connect from 5v thrue the LDR and another Resistor to ground and the the MCU can mesure the voltage ??
