#include <SoftwareSerial.h>
SoftwareSerial mySerial(16, 17); // RX, TX
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
mySerial.println("Test from esp32");
}
void loop() {
// put your main code here, to run repeatedly:
while (mySerial.available()) {
Serial.print((char)mySerial.read());
}
delay(10); // this speeds up the simulation
}