Go Down

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


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

the example seems to have Rx and Tx swopped:



#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!

via Egeo 16
Torino, 10131