I need to interface LDR with micro controller,
While searching some circuit ideas on the internet I came across two different ideas.
One was using a voltage divider circuit with another resistor and input that into ADC port of micro controller.
Another was to couple LDR to ground via small capacitor and another end directly to microcontroller. ( I am not sure how this works? )
Which one is more accurate?