You are reading a single comment by @allObjects and its replies. Click here to read the full conversation.
  • Did you check the flags? E.getFlags() or something alike... that can help you. Since you know your code you may have an idea where it is heavy... so after certain buffer and move-around operations checking the flags can give you indication. Furthermore, try to break up code into setTimeout()s because that breaks the JavaScript thread an lets the ESP8266 do its things... there is anyway only a limited window that you can use before the Wifi tries to take over and crashes or takes over and JavaScript portion crashes. The single processor is just not the setup for doing much next to the Wifi job... not for nothing the ESP32 got launched which has the dual processor - one to deal with the Wifi/Bluetooth and one with the rest... Similar 'combination structures' I'm running successfully with Espruino Original and CC300, Pico with ESP8266, Espruino-Wifi. The money saved on the ESP8266 is just not worth your troubles...

About

Avatar for allObjects @allObjects started