Hi,
i used the following code to add an additional Serial port to my nano RP2040. Unfortunately now i can not connect via USB to the board anymore. Is there anything i can do? Or do i need to buy a new board...
Help would be very much appreciated.
Thanks!
Sebastian
DO NOT USE THIS CODE UNLESS YOU KNOW WHAT YOU ARE DOING
#include "pinDefinitions.h"
UART mySerial (digitalPinToPinName(2), digitalPinToPinName(3), NC, NC);
int i = 0;
void setup() {
mySerial.begin(9600);
while(!mySerial);
mySerial.println("Hallo vom Bluetooth Modul");
}
void loop() {
mySerial.print(i);
mySerial.println(" von Bluetooth");
i++;
delay(100);
}
Here some related topic I found. Serial2 on Raspberry Pi Pico - #2 by khoih-prog