Skip to content

Instantly share code, notes, and snippets.

@TakehikoShimojima
Created May 26, 2018 07:42
Show Gist options
  • Select an option

  • Save TakehikoShimojima/105db486b31e2be98e7ee8aa50f7cdfa to your computer and use it in GitHub Desktop.

Select an option

Save TakehikoShimojima/105db486b31e2be98e7ee8aa50f7cdfa to your computer and use it in GitHub Desktop.
#include <M5Stack.h>
HardwareSerial GPS_s(2);
void setup() {
M5.begin();
GPS_s.begin(9600);
}
void loop() {
while (GPS_s.available() > 0) {
Serial.write(GPS_s.read());
}
delay(1000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment