NMEA0813フォーマットのGPSから情報を取り出すプログラムです。
Dependents: GPS_test EM_Logger
Diff: nmea0813.h
- Revision:
- 2:7870c69fa58c
- Parent:
- 0:42a334c405de
- Child:
- 3:84d63345eb80
- Child:
- 4:7be9581d0734
--- a/nmea0813.h Fri Mar 29 05:55:53 2013 +0000 +++ b/nmea0813.h Fri Jul 05 04:17:36 2013 +0000 @@ -14,20 +14,20 @@ char* get_str_latitude(); float get_longitude(); char* get_str_longitude(); - char get_states(); + char get_status(); float get_speed(); + char get_satelite_number(); private: - char GPSdata[1000]; //gps_data_buffer char GPGGA[100];//GPGGA_data char GPRMC[100];//GPRMC_data - char time_str[8]; + char time_str[9]; char latitude_str[9]; float latitude; char longitude_str[10]; float longitude; - char states; + char status; char number_of_satelite; char speed_str[5]; float speed;