output only raw data (acceleration, anguler rate, geomagnetism, air pressure)

Dependencies:   mbed SDFileSystem ConfigFile

Committer:
ojan
Date:
Sun May 24 17:32:47 2015 +0000
Revision:
1:6cd6d2760856
Child:
4:45dc5590abc0
Send all sensor's data to PC

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ojan 1:6cd6d2760856 1 #pragma once
ojan 1:6cd6d2760856 2
ojan 1:6cd6d2760856 3 const int BuffSize = 256;
ojan 1:6cd6d2760856 4
ojan 1:6cd6d2760856 5 class GMS6_CR6 {
ojan 1:6cd6d2760856 6
ojan 1:6cd6d2760856 7 public:
ojan 1:6cd6d2760856 8 GMS6_CR6(Serial* ps, Serial* pc);
ojan 1:6cd6d2760856 9 ~GMS6_CR6();
ojan 1:6cd6d2760856 10 void INT_Rx();
ojan 1:6cd6d2760856 11 void read();
ojan 1:6cd6d2760856 12
ojan 1:6cd6d2760856 13 char lat_hem, lng_hem;
ojan 1:6cd6d2760856 14 float raw_longitude, raw_latitude;
ojan 1:6cd6d2760856 15 float longitude, latitude;
ojan 1:6cd6d2760856 16 float time;
ojan 1:6cd6d2760856 17
ojan 1:6cd6d2760856 18 private:
ojan 1:6cd6d2760856 19 Serial* p_port;
ojan 1:6cd6d2760856 20 Serial* p_pc;
ojan 1:6cd6d2760856 21 char buff1[BuffSize];
ojan 1:6cd6d2760856 22 char buff2[BuffSize];
ojan 1:6cd6d2760856 23 int pointer;
ojan 1:6cd6d2760856 24 volatile int INT_flag;
ojan 1:6cd6d2760856 25 };