![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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
Diff: Mesure/Mesure.h
- Revision:
- 0:0861bf46efe4
- Child:
- 1:e1f3b4b8b99b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Mesure/Mesure.h Fri Feb 12 20:54:38 2016 +0000 @@ -0,0 +1,33 @@ +#include "mbed.h" +#include "COMPASS_DISCO_L476VG.h" + +#ifndef MESURE_H +#define MESURE_H + + + +class tMesure +{ +public: +tMesure(COMPASS_DISCO_L476VG * apCompass); + +void Update(); +void Save(FILE * apFile); + +private: + COMPASS_DISCO_L476VG * pCompass; + + double Mag[3]; + double Acc[3]; + + + double OffsetMag[3]; + double OffsetAcc[3]; + + double GainMag[3]; + double GainAcc[3]; + + + +}; +#endif \ No newline at end of file