Implement new controller
Dependencies: mbed-rtos mbed QEI BNO055 MPU6050_DMP_Nucleo-I2Cdev virgo3_imuHandler_Orion_PCB MAX17048 Servo
Fork of Orion_newPCB_test by
Diff: 04_PowerMonitor/batt_guage.h
- Revision:
- 11:49344285c82a
- Child:
- 23:6806c3bacf58
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/04_PowerMonitor/batt_guage.h Sun Apr 24 23:54:50 2016 +0000 @@ -0,0 +1,26 @@ +#ifndef battGuage_H +#define battGuage_H + +#include "mbed.h" +#include "config.h" +#include "generalFunctions.h" +#include "virgo3_pinmapping.h" +#include "MAX17048.h" + + + +class BattGuage +{ +public: + BattGuage(); + void reset(); + float getSOC(); + float getVcell(); + + +private: + MAX17048 batt_gauge; + +}; + +#endif \ No newline at end of file