SoftwareSerial(rxPin, txPin)DescriptionA call to SoftwareSerial(rxPin, txPin) creates a new SoftwareSerial object, whose name you need to provide as in the example below.
Signal Inversion"Normal" TTL serial signaling defines a start bit as a transition from "high" to "low" logic. Logical 1 is "high", 0 is "low". But some serial devices turn this logic upside down, using what we call "inverted signaling". As of version 10, NewSoftSerial supports these devices natively with a third parameter in the constructor.NewSoftSerial myInvertedConn(7, 5, true); // this device uses inverted signalingNewSoftSerial myGPS(3, 2); // this one doesn't
change all NewSoftSerial references to SoftwareSerial.