Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed-rtos mbed QEI BNO055 MPU6050_DMP_Nucleo-I2Cdev virgo3_imuHandler_Orion_PCB MAX17048 Servo
Fork of Orion_newPCB_test by
batt_guage.h
00001 #ifndef battGuage_H 00002 #define battGuage_H 00003 00004 #include "mbed.h" 00005 #include "config.h" 00006 #include "generalFunctions.h" 00007 #include "orion_pinmapping.h" 00008 #include "MAX17048.h" 00009 00010 00011 00012 class BattGuage 00013 { 00014 public: 00015 BattGuage(); 00016 void reset(); 00017 float getSOC(); 00018 float getVcell(); 00019 00020 00021 private: 00022 MAX17048 batt_gauge; 00023 00024 }; 00025 00026 #endif
Generated on Tue Jul 12 2022 20:53:07 by
