Closed 8cH9azbsFifZ closed 11 years ago
Is even mentioned in the doc: http://www.arduino.cc/en/Reference/SoftwareSerial http://www.arduino.cc/en/Reference/SoftwareSerialListen
mySerial.listen()
and check mySerial.available()>0
Solved in v0.4.8
does not work in the main loop as of v0.4.19
problem: serial->listen will abandon poor data...
solution: once in gps mode read all characters, until we can understand the signal.
implemented in v0.4.21
SoftwareSerial Serial1(GPS_TX_PIN, GPS_RX_PIN); Adafruit_GPS GPS(&Serial1); SoftwareSerial Serial3(GPS_TX_PIN, GPS_RX_PIN); Adafruit_GPS GPS1(&Serial3);
It does not work to open two serial ports?