I was considering the CR2032 backup, but was scared to mess with two inputs.
Thanks for sorting that our.
Actually it would be enough to have some cycles left for a EEPROM write, so a powercap or elko could just do.
What about another pulldown between Din and GND?
EDIT: I just found input_pulldown in the pinMode() documentation. That would do the trick, wouldn't it?
It would be nice to use a setWatch() instead of polling external hardware.
Maybe I'll give t a try later...
The NRF52LL reference looks interesting, too. Did not know about it.
© Espruino, powered by microcosm.
Report a problem