mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Updating comments in SoftwareSerial example.
This commit is contained in:
@ -5,7 +5,8 @@
|
|||||||
Receives from software serial, sends to hardware serial.
|
Receives from software serial, sends to hardware serial.
|
||||||
|
|
||||||
The circuit:
|
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
|
created back in the mists of time
|
||||||
by Tom Igoe
|
by Tom Igoe
|
||||||
@ -16,8 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
#include <SoftwareSerial.h>
|
#include <SoftwareSerial.h>
|
||||||
|
|
||||||
// software serial port: TX = digital pin 2, RX = digital pin 3
|
SoftwareSerial mySerial(2, 3); // RX, TX
|
||||||
SoftwareSerial mySerial(2, 3);
|
|
||||||
|
|
||||||
void setup()
|
void setup()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user