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:
- 4:315716ef8178
- Parent:
- 2:761e3c932ce0
--- a/04_PowerMonitor/batt_guage.h Mon Jan 18 09:07:39 2016 +0000 +++ b/04_PowerMonitor/batt_guage.h Wed Jan 20 04:01:37 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