Created
July 26, 2017 22:36
-
-
Save ShawnHymel/ebf85636c062b7a235dc460bcfb78177 to your computer and use it in GitHub Desktop.
GPS Raw NMEA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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