INA226 Library
Dependents: HYBRYD2018_IZU_ROCKET Hybrid_IZU2019 SWAN_IZU2019_v1 Hybrid_OB2021_MAIN
Diff: INA226.h
- Revision:
- 1:9c367d227582
- Parent:
- 0:ad712ebc38d6
- Child:
- 2:eccb118370eb
diff -r ad712ebc38d6 -r 9c367d227582 INA226.h --- a/INA226.h Mon Jul 10 10:50:39 2017 +0000 +++ b/INA226.h Tue Jul 11 05:16:45 2017 +0000 @@ -36,13 +36,13 @@ void get_Voltage_current(float *V_bus, float *current); - void get_Shunt_voltage(float *V_shunt); + float get_Shunt_voltage(); - void get_Bus_voltage(float *V_bus); + float get_Bus_voltage(); - void get_current(float *current); + float get_current(); - void get_power(float *power); + float get_power(); private: