Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
GPS Raw NMEA
#include <SoftwareSerial.h>
SoftwareSerial soft(10, 11); // Rx, Tx
void setup() {
Serial.begin(9600);
soft.begin(9600);
}
void loop() {
String msg = soft.readStringUntil('\r');
Serial.print(msg);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment