Skip to content

Commit 2303632

Browse files
authored
EspSoftwareSerial 8.0.1: onReceive bug fix and new namespace (#8869)
* Upcoming EspSoftwareSerial 7.0.1 * EspSoftwareSerial example: higher bitrates due to forcing half-duplex * Adapt to SoftwareSerial's latest use of namespace. * In EspSoftwareSerial, some renaming after review feedback. * EspSoftwareSerial's use of a template class in order to permit users their own GPIO capabilities definitions. * CI caught some warning. * Stick to non-namespace EspSoftwareSerial class name for the moment. * Delegate operator() is now nullptr-safe, good for use in ISRs. * Pushed EspSoftwareSerial 8.0.1: Platformio picks up versions that aren't published in Github
1 parent 6ad9bf3 commit 2303632

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

libraries/ESP8266WiFi/examples/WiFiTelnetToSerial/WiFiTelnetToSerial.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
SWAP_PINS:
3232
0: use Serial1 for logging (legacy example)
3333
1: configure Hardware Serial port on RX:GPIO13 TX:GPIO15
34-
and use SoftwareSerial for logging on
34+
and use EspSoftwareSerial for logging on
3535
standard Serial pins RX:GPIO3 and TX:GPIO1
3636
*/
3737

@@ -84,11 +84,11 @@ void setup() {
8484
#if SWAP_PINS
8585
Serial.swap();
8686
// Hardware serial is now on RX:GPIO13 TX:GPIO15
87-
// use SoftwareSerial on regular RX(3)/TX(1) for logging
87+
// use EspSoftwareSerial on regular RX(3)/TX(1) for logging
8888
logger = new SoftwareSerial(3, 1);
8989
logger->begin(BAUD_LOGGER);
9090
logger->enableIntTx(false);
91-
logger->println("\n\nUsing SoftwareSerial for logging");
91+
logger->println("\n\nUsing EspSoftwareSerial for logging");
9292
#else
9393
logger->begin(BAUD_LOGGER);
9494
logger->println("\n\nUsing Serial1 for logging");

libraries/esp8266/examples/SerialStress/SerialStress.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
Serial read/write/verify/benchmark
44
Using internal loopback
5-
Using SoftwareSerial library for logging
5+
Using EspSoftwareSerial library for logging
66
77
Sketch meant for debugging only
88
Released to public domain

0 commit comments

Comments
 (0)