Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
SWAP_PINS:
0: use Serial1 for logging (legacy example)
1: configure Hardware Serial port on RX:GPIO13 TX:GPIO15
and use SoftwareSerial for logging on
and use EspSoftwareSerial for logging on
standard Serial pins RX:GPIO3 and TX:GPIO1
*/

Expand Down Expand Up @@ -84,11 +84,11 @@ void setup() {
#if SWAP_PINS
Serial.swap();
// Hardware serial is now on RX:GPIO13 TX:GPIO15
// use SoftwareSerial on regular RX(3)/TX(1) for logging
// use EspSoftwareSerial on regular RX(3)/TX(1) for logging
logger = new SoftwareSerial(3, 1);
logger->begin(BAUD_LOGGER);
logger->enableIntTx(false);
logger->println("\n\nUsing SoftwareSerial for logging");
logger->println("\n\nUsing EspSoftwareSerial for logging");
#else
logger->begin(BAUD_LOGGER);
logger->println("\n\nUsing Serial1 for logging");
Expand Down
2 changes: 1 addition & 1 deletion libraries/esp8266/examples/SerialStress/SerialStress.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
Serial read/write/verify/benchmark
Using internal loopback
Using SoftwareSerial library for logging
Using EspSoftwareSerial library for logging

Sketch meant for debugging only
Released to public domain
Expand Down