• My objective is to use one of the serial ports on the Pico as the console when the Pico isn't plugged into a USB port, but have the console automatically move back to USB when the Pico is plugged into a USB port.

    The documentation states that:

    force: if false, changes in connection state (eg USB/Bluetooth) can move the console automatically
    

    This seems to imply that there is a way to automatically set the console to USB when the Pico is plugged into a USB port, but otherwise use Serial1, for example. If so, how is this accomplished?

    Also, I'm a little confused by the pinout of the Pico in the online docs. Which serial interfaces are actually available? I'm assuming that the globals Serial1 and Serial2 correspond to USART1 and USART2, but why does USART1 RX appear on A10 and B7?

About

Avatar for Eric24 @Eric24 started