SSLM1 / 2_GPS_GMS6-CR6

Dependents:   2-1_GMS6-CR6 5_flightmode 5-2_thrustermode 5-3_thruster_depressmode ... more

Committer:
rary
Date:
Fri Jul 17 12:13:26 2020 +0000
Revision:
3:b4133b354e5b
Parent:
0:e504e33078a7
Child:
4:dc48563aad90
add low mode

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rary 0:e504e33078a7 1 #ifndef MBED_GMS6_CR6_H
rary 0:e504e33078a7 2 #define MBED_GMS6_CR6_H
rary 0:e504e33078a7 3
rary 0:e504e33078a7 4 #include "mbed.h"
rary 0:e504e33078a7 5 #include "math.h"
rary 0:e504e33078a7 6
rary 0:e504e33078a7 7 class GMS6_CR6
rary 0:e504e33078a7 8 {
rary 0:e504e33078a7 9 public:
rary 0:e504e33078a7 10 GMS6_CR6(PinName tx, PinName rx);
rary 0:e504e33078a7 11 ~GMS6_CR6();
rary 0:e504e33078a7 12
rary 0:e504e33078a7 13 float _DMS2DEG(float raw_data); //ddmをddに変換する処理関数
rary 0:e504e33078a7 14 void read(float *G); //緯度と経度を返す関数
rary 3:b4133b354e5b 15 void read_low(float *G); //緯度と経度を返す関数
rary 0:e504e33078a7 16
rary 0:e504e33078a7 17 private:
rary 0:e504e33078a7 18 Serial gps;
rary 0:e504e33078a7 19 };
rary 0:e504e33078a7 20
rary 0:e504e33078a7 21 #endif