I have a ESP32 and I need to work with more serial ports, but I can't be using the Software Serial Library into ESP32, because the Arduino IDE don't recognize the library.
How could I be using it?
#include <Arduino.h>
#include <SoftwareSerial.h>
SoftwareSerial SoftSerial(4, 5);
void setup()
{
Serial.begin(9600);
SoftSerial.begin(115200);
}
void loop()
{
while (Serial.available())
{
SoftSerial.write("on");
}
}
Thank You