mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-14 11:29:26 +01:00
Updated comments in softwareSerial example
This commit is contained in:
parent
da09e0c867
commit
87eaf2d0c5
@ -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 <SoftwareSerial.h>
|
#include <SoftwareSerial.h>
|
||||||
|
|
||||||
|
// software serial port: TX = digital pin 2, RX = digital pin 3
|
||||||
SoftwareSerial mySerial(2, 3);
|
SoftwareSerial mySerial(2, 3);
|
||||||
|
|
||||||
void setup()
|
void setup()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user