Hi Ollie, not much time... see the code I posted. I could try to see if it related, but what do you mean with 'I know things have to yield to the watchdog timer'? Do I need to change something or somewhere?
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.
How long before it stops? I know things have to yield to the watchdog timer on ESP8266 so the OS can run wifi - perhaps this is related to that?