ロケットロガーのセンサ関連を管理するプログラム
Dependencies: BMP280 BMX055 ublox_UBX
Fork of SensorManager by
SensorManager.h
- Committer:
- kim1212
- Date:
- 2018-02-13
- Revision:
- 0:b6301e4d05a5
File content as of revision 0:b6301e4d05a5:
#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