You are reading a single comment by @HaraldK and its replies. Click here to read the full conversation.
  • Hi,

    While playing with Espruino and having a fun time learning JavaScript in general, I wonder:
    How busy is the CPU?
    The point came up when I created a "glow LED" function with gets called via setInterval() every 5ms.
    It works fine for 4 LEDs, but I wonder when it will start to drop things or simply run late. Can I do 10 LEDs? What about 20? 200? 2000?

    This is not an actual problem (yet), but it would need only some slow JavaScripts calls to keep the CPU busy, and I'd rather know that I am either close to the limit or far, far away from it.

    Harald

About

Avatar for HaraldK @HaraldK started