hiroya taura / Mbed 2 deprecated LAURUS_program

Dependencies:   ConfigFile SDFileSystem mbed

Fork of LAURUS_program by LAURUS

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers GMS6_CR6.h Source File

GMS6_CR6.h

00001 #pragma once
00002 
00003 const int BuffSize = 256;
00004 
00005 class GMS6_CR6 {
00006     
00007 public: 
00008     GMS6_CR6(Serial* ps, Serial* pc);
00009     ~GMS6_CR6();
00010     void INT_Rx();
00011     void read();
00012     
00013     char lat_hem, lng_hem;
00014     float raw_longitude, raw_latitude;
00015     float longitude, latitude;
00016     float time;
00017     int mode;
00018     int Ns;
00019       
00020 private: 
00021     Serial* p_port;
00022     Serial* p_pc;
00023     char buff1[BuffSize];
00024     char buff2[BuffSize];
00025     int pointer;
00026     volatile int INT_flag;
00027 };