it does not seem to be RAM related. I set it to reboot every night but having an issue with it getting stuck due to the stupid LED light on the meter staying on and somehow making LDR to cause the puck to hang after a while
Currently, it is checking (as you have suggested) for stuck LED and sets the PIN mode for D2 to either input_pullup or input.
Are any of the PIN modes more useful to reset it? like pin.toggle() or something?
It works for some time, but eventually somehow gets stuck in the state that stops everything.
If I remove puck from the light source, thus causing it to "unstuck", it reboots the puck and then works fine
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.
it does not seem to be RAM related. I set it to reboot every night but having an issue with it getting stuck due to the stupid LED light on the meter staying on and somehow making LDR to cause the puck to hang after a while
Currently, it is checking (as you have suggested) for stuck LED and sets the PIN mode for D2 to either input_pullup or input.
Are any of the PIN modes more useful to reset it? like pin.toggle() or something?
It works for some time, but eventually somehow gets stuck in the state that stops everything.
If I remove puck from the light source, thus causing it to "unstuck", it reboots the puck and then works fine