• Yes, you can do something like:

    USB.on("data",function(d) {Serial1.write(d);});
    Serial1.on("data",function(d) {USB.write(d);});
    LoopbackA.setConsole();
    

    And can set up the baud rate with Serial1.setup(...).

    But obviously if you move the console out of the way, it can't be reached again. You could move the console to somewhere like Serial2, where you could then contact Espruino via a USB-TTL dongle though - or you could use a button press to change the baud rate?

About

Avatar for Gordon @Gordon started