Log measurements on SD card added on DISCO-L476VG board acceleration, omega, compass & 5 Analog values

Dependencies:   BSP_DISCO_L476VG COMPASS_DISCO_L476VG ConfigFile GYRO_DISCO_L476VG SDFileSystem mbed

Committer:
flowh
Date:
Fri Feb 12 20:54:38 2016 +0000
Revision:
0:0861bf46efe4
Child:
1:e1f3b4b8b99b
enregistrement Acc et boussole sur sd

Who changed what in which revision?

UserRevisionLine numberNew contents of line
flowh 0:0861bf46efe4 1 #include "mbed.h"
flowh 0:0861bf46efe4 2 #include "COMPASS_DISCO_L476VG.h"
flowh 0:0861bf46efe4 3
flowh 0:0861bf46efe4 4 #ifndef MESURE_H
flowh 0:0861bf46efe4 5 #define MESURE_H
flowh 0:0861bf46efe4 6
flowh 0:0861bf46efe4 7
flowh 0:0861bf46efe4 8
flowh 0:0861bf46efe4 9 class tMesure
flowh 0:0861bf46efe4 10 {
flowh 0:0861bf46efe4 11 public:
flowh 0:0861bf46efe4 12 tMesure(COMPASS_DISCO_L476VG * apCompass);
flowh 0:0861bf46efe4 13
flowh 0:0861bf46efe4 14 void Update();
flowh 0:0861bf46efe4 15 void Save(FILE * apFile);
flowh 0:0861bf46efe4 16
flowh 0:0861bf46efe4 17 private:
flowh 0:0861bf46efe4 18 COMPASS_DISCO_L476VG * pCompass;
flowh 0:0861bf46efe4 19
flowh 0:0861bf46efe4 20 double Mag[3];
flowh 0:0861bf46efe4 21 double Acc[3];
flowh 0:0861bf46efe4 22
flowh 0:0861bf46efe4 23
flowh 0:0861bf46efe4 24 double OffsetMag[3];
flowh 0:0861bf46efe4 25 double OffsetAcc[3];
flowh 0:0861bf46efe4 26
flowh 0:0861bf46efe4 27 double GainMag[3];
flowh 0:0861bf46efe4 28 double GainAcc[3];
flowh 0:0861bf46efe4 29
flowh 0:0861bf46efe4 30
flowh 0:0861bf46efe4 31
flowh 0:0861bf46efe4 32 };
flowh 0:0861bf46efe4 33 #endif