Hotwheels-Cluster 1.2
Creation of Cluster APP for SEA:ME project.
 
Loading...
Searching...
No Matches
BatteryController.cpp File Reference

Implementation of the BatteryController class. More...

Go to the source code of this file.

Macros

#define REG_CALIBRATION   0x05
 
#define REG_BUSVOLTAGE   0x02
 
#define REG_SHUNTVOLTAGE   0x01
 

Detailed Description

Implementation of the BatteryController class.

Version
0.1
Date
2025-01-31

This file contains the implementation of the BatteryController class, which is used to control the battery of the vehicle.

Note
This class is used to control the battery of the vehicle, including monitoring the battery level and charging status.
Author
Félix LE BIHAN (@Fle-bihh)
Tiago Pereira (@t-pereira06)
Ricardo Melo (@reomelo)
Michel Batista (@MicchelFAB)
Warning
Ensure that the INA219 is properly connected and configured.
See also
BatteryController.hpp for the class definition.

Definition in file BatteryController.cpp.

Macro Definition Documentation

◆ REG_BUSVOLTAGE

#define REG_BUSVOLTAGE   0x02

Definition at line 25 of file BatteryController.cpp.

◆ REG_CALIBRATION

#define REG_CALIBRATION   0x05

Definition at line 23 of file BatteryController.cpp.

◆ REG_SHUNTVOLTAGE

#define REG_SHUNTVOLTAGE   0x01

Definition at line 28 of file BatteryController.cpp.