You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Argh, that's a shame. Probably what you could do is use the same LDR but try an external resistor. If you added a variable resistor then you could actually tweak the value until it started recording the value reliably?

    The other thing you could try is to use the low power comparator built into the chip:­ow-many-times-d31-crosses-vcc-2-in-10-se­conds

    That could potentially be a software-only solution (although if you don't have an external pullup resistor, enabling the internal one when using the pin in analog mode could be a bit of a pain involving some register poking).


Avatar for Gordon @Gordon started