We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da09e0c commit 87eaf2dCopy full SHA for 87eaf2d
libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino
@@ -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
+ */
17
#include <SoftwareSerial.h>
18
19
+// software serial port: TX = digital pin 2, RX = digital pin 3
20
SoftwareSerial mySerial(2, 3);
21
22
void setup()
0 commit comments