Added target compiler selections for FRDM-K20D50 which works.

Dependencies:   FATFileSystem

Dependents:   kl25z_Usb_Logger

Fork of F401RE-USBHost by Norimasa Okamoto

Committer:
neilh20
Date:
Sun Nov 09 20:28:44 2014 +0000
Revision:
20:21a460855ee5
Parent:
13:8774c07f12a5
Add K20D additions - pure guess but works

Who changed what in which revision?

UserRevisionLine numberNew contents of line
va009039 13:8774c07f12a5 1 // decodeNMEA.h 2012/12/15
va009039 13:8774c07f12a5 2 #ifndef DECODE_NMEA_H
va009039 13:8774c07f12a5 3 #define DECODE_NMEA_H
va009039 13:8774c07f12a5 4
va009039 13:8774c07f12a5 5 class decodeNMEA {
va009039 13:8774c07f12a5 6 public:
va009039 13:8774c07f12a5 7 decodeNMEA();
va009039 13:8774c07f12a5 8 void inputNMEA(char* buf, int len);
va009039 13:8774c07f12a5 9 void inputNMEA(char c);
va009039 13:8774c07f12a5 10 float lat,lon;
va009039 13:8774c07f12a5 11 time_t gprmc_t;
va009039 13:8774c07f12a5 12 time_t update_t;
va009039 13:8774c07f12a5 13
va009039 13:8774c07f12a5 14 private:
va009039 13:8774c07f12a5 15 void parse(int type, int row, char* buf);
va009039 13:8774c07f12a5 16 void update(int type, int row);
va009039 13:8774c07f12a5 17 int m_seq;
va009039 13:8774c07f12a5 18 int m_type;
va009039 13:8774c07f12a5 19 int m_row;
va009039 13:8774c07f12a5 20 uint8_t m_sum;
va009039 13:8774c07f12a5 21 char m_buf[12];
va009039 13:8774c07f12a5 22 int m_buf_pos;
va009039 13:8774c07f12a5 23 bool m_status;
va009039 13:8774c07f12a5 24 float tmp_lat,tmp_lon;
va009039 13:8774c07f12a5 25 struct tm tmp_timeinfo;
va009039 13:8774c07f12a5 26 };
va009039 13:8774c07f12a5 27
va009039 13:8774c07f12a5 28 #endif // DECODE_NMEA_H