Created
June 30, 2019 14:56
-
-
Save ymt117/1f59dfb1ec07dfea1423e7de7f0307cf to your computer and use it in GitHub Desktop.
100kinSAT - GPSセンサから値を所得するコード
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
HardwareSerial gps(2); | |
void setup() { | |
// put your setup code here, to run once: | |
Serial.begin(115200); | |
Serial.println("start"); | |
gps.begin(9600); | |
} | |
void loop() { | |
// put your main code here, to run repeatedly: | |
if(gps.available()){ | |
Serial.write(gps.read()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment