From 87eaf2d0c50840862244f27678a265ae21a37e71 Mon Sep 17 00:00:00 2001 From: Tom Igoe Date: Tue, 20 Mar 2012 14:48:24 -0400 Subject: [PATCH] Updated comments in softwareSerial example --- .../SoftwareSerialExample.ino | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino b/libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino index 1f535bdef..088c7d2ae 100644 --- a/libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino +++ b/libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino @@ -1,5 +1,22 @@ +/* + Software serial multple serial test + + Receives from the hardware serial, sends to software serial. + Receives from software serial, sends to hardware serial. + + The circuit: + * Software serial TX attached to digital pin 2, RX to pin 3 + + created back in the mists of time + by Tom Igoe + based on Mikal Hart's example + + This example code is in the public domain. + + */ #include +// software serial port: TX = digital pin 2, RX = digital pin 3 SoftwareSerial mySerial(2, 3); void setup()