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:
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).
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
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:
https://www.espruino.com/NRF52LL#count-how-many-times-d31-crosses-vcc-2-in-10-seconds
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).