I need to interface LDR with micro controller,
while searching some circuit Idea on internet I came across tow different idea.
One was using voltage divider circuit with another resistor and input it in to 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 ?