◆ Charger()
Creates a Charger setting up pins and attaching interrupts.
◆ chargeCapacitors()
| void chargeCapacitors |
( |
| ) |
|
|
static |
Sets the charge pin to HIGH to begin charging the capacitors. Note: we run in regulation mode meaning the capacitors will recharge continuously while charge is HIGH
◆ getCapacitorVoltage()
| float getCapacitorVoltage |
( |
| ) |
|
Returns the voltage of the capacitors
- Returns
- voltage of capacitors
◆ getFlybackFault()
Returns the status of the flyback fault
- Returns
- whether the flyback fault is tripped or not
The documentation for this class was generated from the following files:
- src/software/power/charger.h
- src/software/power/charger.cpp