Disable USB uart and use the uart for something else

Hi,
I looking for a way to use the usb uart “Serial in code” for something else. Simply move it to other pins.
I already did that on Seriel1, by editing “pinmap_defines.h” and it is working

Move from
// #define TX D9
// #define RX D10
To
#define RX D6
#define TX D8

I know that I then can’t use it for logging and more.

/Kasper

USB Serial is not tied to any of the A# or D# pins - it’s not even “proper” UART but packages the serial data into USB CDC packets that can be treated as virtual serial port on host side.

1 Like