Created
May 26, 2018 07:42
-
-
Save TakehikoShimojima/105db486b31e2be98e7ee8aa50f7cdfa to your computer and use it in GitHub Desktop.
This file contains hidden or 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 <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