You can use E.getErrorFlags() to see if the error flag was set... My gut feel is memory busy might be something like the pressure sensor, or something with a promise that completes outside of the main execution loop.
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.
You can use
E.getErrorFlags()
to see if the error flag was set... My gut feel is memory busy might be something like the pressure sensor, or something with a promise that completes outside of the main execution loop.