I'm trying to use SoftwareSerial on RP2040Connect, and am getting a strange warning and error. I can't figure out whats wrong. code posted below:
WARNING: library EspSoftwareSerial claims to run on esp8266, esp32 architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s).
'void std::setup()' conflicts with a previous declaration
'''
#include <SoftwareSerial.h>
SoftwareSerial mySerial(2, 3); // RX, TX
void setup() {
mySerial.begin(9600);
}
void loop() {
delay(10000);
mySerial.println("Testing Part 1");
delay(10000);
mySerial.println("Testing Part 2");
}
'''