Xbee CountUp

Dependencies:   mbed

Fork of HeptaXbee_CountUp by 智也 大野

Committer:
tomoya123
Date:
Fri Dec 09 04:58:00 2016 +0000
Revision:
0:0a7fa0911e6c
Xbee CountUP

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tomoya123 0:0a7fa0911e6c 1 #ifndef MBED_HEPTAGPS_H
tomoya123 0:0a7fa0911e6c 2 #define MBED_HEPTAGPS_H
tomoya123 0:0a7fa0911e6c 3 #include "mbed.h"
tomoya123 0:0a7fa0911e6c 4
tomoya123 0:0a7fa0911e6c 5 class HeptaGPS{
tomoya123 0:0a7fa0911e6c 6 public:
tomoya123 0:0a7fa0911e6c 7 Serial gps;
tomoya123 0:0a7fa0911e6c 8 HeptaGPS(
tomoya123 0:0a7fa0911e6c 9 PinName tx,
tomoya123 0:0a7fa0911e6c 10 PinName rx
tomoya123 0:0a7fa0911e6c 11 );
tomoya123 0:0a7fa0911e6c 12 void baud(int rate);
tomoya123 0:0a7fa0911e6c 13 char getc();
tomoya123 0:0a7fa0911e6c 14 int readable();
tomoya123 0:0a7fa0911e6c 15 void flushSerialBuffer(void);
tomoya123 0:0a7fa0911e6c 16 void gga_sensing(float *time, float *latitude, char *ns, float *longitude, char *ew, int *quality, int *stnum, float *hacu, float *altitude, char *aunit, int *gps_check);
tomoya123 0:0a7fa0911e6c 17 void lat_log_sensing_u16(char *lat, char *log, int *dsize);
tomoya123 0:0a7fa0911e6c 18 private:
tomoya123 0:0a7fa0911e6c 19 char msg[256],msgd[256];
tomoya123 0:0a7fa0911e6c 20 int i,ite,rlock,stn;
tomoya123 0:0a7fa0911e6c 21 char c;
tomoya123 0:0a7fa0911e6c 22 char gps_data[7][1000];
tomoya123 0:0a7fa0911e6c 23 char ns,ew,statas;
tomoya123 0:0a7fa0911e6c 24 float time,hokui,tokei,vel;
tomoya123 0:0a7fa0911e6c 25 float g_hokui,g_tokei;
tomoya123 0:0a7fa0911e6c 26 float d_hokui,m_hokui,d_tokei,m_tokei;
tomoya123 0:0a7fa0911e6c 27 int h_time,m_time,s_time;
tomoya123 0:0a7fa0911e6c 28 };
tomoya123 0:0a7fa0911e6c 29 #endif