Skip to content

Commit 87eaf2d

Browse files
author
Tom Igoe
committed
Updated comments in softwareSerial example
1 parent da09e0c commit 87eaf2d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
1+
/*
2+
Software serial multple serial test
3+
4+
Receives from the hardware serial, sends to software serial.
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
9+
10+
created back in the mists of time
11+
by Tom Igoe
12+
based on Mikal Hart's example
13+
14+
This example code is in the public domain.
15+
16+
*/
117
#include <SoftwareSerial.h>
218

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

522
void setup()

0 commit comments

Comments
 (0)