Go Down

Topic: SoftwareSerial: isListening() swopped pins in example (Read 783 times) previous topic - next topic

At http://arduino.cc/en/Reference/SoftwareSerialIsListening

the example seems to have Rx and Tx swopped:

---quote---

Example

#include <SoftwareSerial.h>

// software serial : TX = digital pin 2, RX = digital pin 3
SoftwareSerial portOne(2, 3);

--- end of quote ---

it should rather state
"// software serial : RX = digital pin 2, TX = digital pin 3
SoftwareSerial portOne(2, 3);"

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy