We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87eaf2d commit 19f513bCopy full SHA for 19f513b
libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino
@@ -5,7 +5,8 @@
5
Receives from software serial, sends to hardware serial.
6
7
The circuit:
8
- * Software serial TX attached to digital pin 2, RX to pin 3
+ * RX is digital pin 2 (connect to TX of other device)
9
+ * TX is digital pin 3 (connect to RX of other device)
10
11
created back in the mists of time
12
by Tom Igoe
@@ -16,8 +17,7 @@
16
17
*/
18
#include <SoftwareSerial.h>
19
-// software serial port: TX = digital pin 2, RX = digital pin 3
20
-SoftwareSerial mySerial(2, 3);
+SoftwareSerial mySerial(2, 3); // RX, TX
21
22
void setup()
23
{
0 commit comments