ロケットロガーのセンサ関連を管理するプログラム

Dependencies:   BMP280 BMX055 ublox_UBX

Fork of SensorManager by yuki kimura

Revision:
0:b6301e4d05a5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SensorManager.h	Tue Feb 13 05:22:55 2018 +0000
@@ -0,0 +1,30 @@
+#ifndef SENSORMGR_H
+#define SENSORMGR_H
+
+#include "mbed.h"
+#include "obsvdStruct.h"
+#include "BMP280.h"
+#include "BMX055.h"
+#include "ubloxUBX.h"
+
+class SensorMgr{
+    public:
+    
+    SensorMgr(PinName mosi,PinName miso,PinName sck,PinName acc_cs,PinName gyr_cs,PinName mag_cs,PinName bmp_cs,PinName gmosi,PinName gmiso,PinName gsck,PinName gcs);
+    void UpdateObsvd(obsvdData* obs);
+    void UpdateTim(tim* t);
+    
+    
+    private:
+    BMX055 bmx;
+    BMP280 bmp;
+    GPS gps;
+    
+    short mag[4];
+    short gyr[3];
+    short acc[3];
+    
+};
+
+
+#endif
\ No newline at end of file