You are reading a single comment by @DrAzzy and its replies. Click here to read the full conversation.
  • Yes, you are. You can't busy-wait like that on an ESP8266 because it has to periodically let the CPU do the wireless-related stuff, and there's a watchdog timer that resets the chip if it doesn't yield for too long. But in Espruino, you don't have to do things like that, since you're writing JS not C- you can use timeouts/intervals/watch's instead of sitting there spinning.

About

Avatar for DrAzzy @DrAzzy started