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 Team Virgo v3

Committer:
ahmed_lv
Date:
Tue Mar 20 05:56:22 2018 +0000
Revision:
30:44676e1b38f8
Parent:
23:6806c3bacf58
Editted Input Variables to PID

Who changed what in which revision?

UserRevisionLine numberNew contents of line
akashvibhute 11:49344285c82a 1 #ifndef battGuage_H
akashvibhute 11:49344285c82a 2 #define battGuage_H
akashvibhute 11:49344285c82a 3
akashvibhute 11:49344285c82a 4 #include "mbed.h"
akashvibhute 11:49344285c82a 5 #include "config.h"
akashvibhute 11:49344285c82a 6 #include "generalFunctions.h"
harrynguyen 23:6806c3bacf58 7 #include "orion_pinmapping.h"
akashvibhute 11:49344285c82a 8 #include "MAX17048.h"
akashvibhute 11:49344285c82a 9
akashvibhute 11:49344285c82a 10
akashvibhute 11:49344285c82a 11
akashvibhute 11:49344285c82a 12 class BattGuage
akashvibhute 11:49344285c82a 13 {
akashvibhute 11:49344285c82a 14 public:
akashvibhute 11:49344285c82a 15 BattGuage();
akashvibhute 11:49344285c82a 16 void reset();
akashvibhute 11:49344285c82a 17 float getSOC();
akashvibhute 11:49344285c82a 18 float getVcell();
akashvibhute 11:49344285c82a 19
akashvibhute 11:49344285c82a 20
akashvibhute 11:49344285c82a 21 private:
akashvibhute 11:49344285c82a 22 MAX17048 batt_gauge;
akashvibhute 11:49344285c82a 23
akashvibhute 11:49344285c82a 24 };
akashvibhute 11:49344285c82a 25
akashvibhute 11:49344285c82a 26 #endif