Please check your ESP8266 state in function cycle() to check if you are running out of heap space
require('ESP8266').getState(); ={ sdkVersion: "2.2.1(6ab97e9)", cpuFrequency: 160, freeHeap: 10624, maxCon: 10, flashMap: "512KB:256/256", flashKB: 512, flashChip: "0xe0 0x4016" }
@MaBe started
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.
Please check your ESP8266 state in function cycle() to check if you are running out of heap space