I suspect the neopixel code in post #1 to crash the ESP8266 if _getCycleCount() returns a value close or the exact maximum of ccount. And wondered what the best fix would be.
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.
I suspect the neopixel code in post #1 to crash the ESP8266 if
_getCycleCount()
returns a value close or the exact maximum ofccount
. And wondered what the best fix would be.