From 19f513b943309ec66541d86684636d8819c64d19 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Tue, 20 Mar 2012 16:24:48 -0400 Subject: [PATCH] Updating comments in SoftwareSerial example. --- .../SoftwareSerialExample/SoftwareSerialExample.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino b/libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino index 088c7d2ae..615d2b363 100644 --- a/libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino +++ b/libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino @@ -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 -// software serial port: TX = digital pin 2, RX = digital pin 3 -SoftwareSerial mySerial(2, 3); +SoftwareSerial mySerial(2, 3); // RX, TX void setup() {