Skip to content

Commit 19f513b

Browse files
committed
Updating comments in SoftwareSerial example.
1 parent 87eaf2d commit 19f513b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
Receives from software serial, sends to hardware serial.
66
77
The circuit:
8-
* Software serial TX attached to digital pin 2, RX to pin 3
8+
* RX is digital pin 2 (connect to TX of other device)
9+
* TX is digital pin 3 (connect to RX of other device)
910
1011
created back in the mists of time
1112
by Tom Igoe
@@ -16,8 +17,7 @@
1617
*/
1718
#include <SoftwareSerial.h>
1819

19-
// software serial port: TX = digital pin 2, RX = digital pin 3
20-
SoftwareSerial mySerial(2, 3);
20+
SoftwareSerial mySerial(2, 3); // RX, TX
2121

2222
void setup()
2323
{

0 commit comments

Comments
 (0)