You are reading a single comment by @bigplik and its replies. Click here to read the full conversation.
  • do you know how to use this for loop similar to way like Arduino ?
    eg.

    for(int i=0 ; i<10 ; i++){
        digitalWrite(13, HIGH);
        delay(500);
        digitalWrite(13, LOW);
        delay(500);
    }
    

    I was trying to use tutorial from buttons example, and change it a bit, like when I press the button LED1 will blink let say twice or triple times, in arduino modification it is easy, how to do it in espruino?

About

Avatar for bigplik @bigplik started