Idling indicator

Posted on
  • Is there a way - and how would it be done - to show the state of the JavaScript engine? For example, I'd like to see - on a selected pin / one of the onboard LEDs - when the engine is idling, when it is busy?

  • function setBusyIndicator

    Call type:
    function setBusyIndicator(pin)

    Description
    When Espruino is busy, set the pin specified here high. Set this to undefined to disable the > feature.

    Parameters
    pin

    Returns
    No return value (undefined)

  • @DrAzzy, if I just could read plain English... <:| ...but thanks anyway. Cool, works with setBusyIndicator(LED1);, for example. Looking on it at the scope shows me duty cycle... I ran it on my little 'drawing' app - see http://forum.espruino.com/comments/11918647/ - and Espruino still goes to Zzzzzzzzzz

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Idling indicator

Posted by Avatar for allObjects @allObjects

Actions