You are reading a single comment by @MarkBloom and its replies. Click here to read the full conversation.
  • Is there a way to check if Espruino is connected to a computer via USB besides something like that?

    E.getConsole() == 'USB';
    

    I'd like my program to have a different behaviour depending on that factor.

About

Avatar for MarkBloom @MarkBloom started