ESP2866 Arduino Library

From ElectroDragon Wiki

Serial

 Serial.swap();
 // Hardware serial is now on RX:GPIO13 TX:GPIO15
 // use SoftwareSerial on regular RX(3)/TX(1) for logging
 logger = new SoftwareSerial(3, 1);