Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updating comments in SoftwareSerial example.

  • Loading branch information...
commit 19f513b943309ec66541d86684636d8819c64d19 1 parent 87eaf2d
David A. Mellis damellis authored
6 libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino
View
@@ -5,7 +5,8 @@
Receives from software serial, sends to hardware serial.
The circuit:
- * Software serial TX attached to digital pin 2, RX to pin 3
+ * RX is digital pin 2 (connect to TX of other device)
+ * TX is digital pin 3 (connect to RX of other device)
created back in the mists of time
by Tom Igoe
@@ -16,8 +17,7 @@
*/
#include <SoftwareSerial.h>
-// software serial port: TX = digital pin 2, RX = digital pin 3
-SoftwareSerial mySerial(2, 3);
+SoftwareSerial mySerial(2, 3); // RX, TX
void setup()
{
Please sign in to comment.
Something went wrong with that request. Please try again.