Skip to content

Commit

Permalink
Merge branch 'main' of github.com:ut-issl/cansat-high-school_arduino-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
conjikidow committed Mar 12, 2024
2 parents e123356 + 28fccad commit 0a4c36f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions examples/test_gps_receiver/test_gps_receiver.ino
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ void loop()
logger.info(gps.read());

// GPS から取得した情報を変数に代入したい場合
// float latitude = gps.read().lat; // 緯度 [°]
// float longitude = gps.read().lon; // 経度 [°]
// float altitude = gps.read().alt; // 高度 [m]
// uint16_t time = gps.read().time; // 最後にデータを取得した時間 [s]
// auto gps_data = gps.read();
// float latitude = gps_data.lat; // 緯度 [°]
// float longitude = gps_data.lon; // 経度 [°]
// float altitude = gps_data.alt; // 高度 [m]
// uint16_t time = gps_data.time; // 最後にデータを取得した時間 [s]

// 1s 待つ
delay(1000);
Expand Down

0 comments on commit 0a4c36f

Please sign in to comment.