Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <SoftwareSerial.h>
- static const int RXPin = P1_4, TXPin = P1_3;
- static const uint32_t GPSBaud = 9600;
- // The serial connection to the GPS device
- SoftwareSerial ss(RXPin, TXPin);
- void setup()
- {
- Serial.begin(115200);
- ss.begin(GPSBaud);
- }
- void loop()
- {
- // Output raw GPS data to the serial monitor
- while (ss.available() > 0){
- Serial.write(ss.read());
- // delay(10);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement