• The button on the Pico is just a button, accessible by use of the BTN variable - it doesn't do a reset.

    What's happening is you're temporarily setting the console to Serial1, but then a USB connection is made and it switches back to USB automatically. You can change it to Serial1.setConsole(true); which is the I really mean it version - it'll stay on Serial1 regardless of what happens to USB.

    OR - you can move it into the setTimeout - so it'll switch the console over to serial just before it starts printing.

About

Avatar for Gordon @Gordon started