ME 507 Romi++
Cylindrical Differential Drive Robot created for ME 507 at Cal Poly in Spring 2025
|
Header for the BATTERY_CHECK class that monitors battery voltage of a 3S LiPo battery using the ADC. More...
#include <stm32f4xx_hal.h>
#include <stdint.h>
Go to the source code of this file.
Classes | |
class | BATTERY_CHECK |
A finite state machine for monitoring battery voltage. More... |
Variables | |
ADC_HandleTypeDef | hadc1 |
External reference to the ADC handle used for battery sensing. |
Header for the BATTERY_CHECK class that monitors battery voltage of a 3S LiPo battery using the ADC.
Defines a finite state machine that checks battery level and signals a low voltage condition using GPIO indicators.