CANdleStickyFaults
- class phoenix5.led.CANdleStickyFaults(*args, **kwargs)
Bases:
pybind11_object
Faults available to CANdle (Currently has none)
Overloaded function.
__init__(self: phoenix5._ctre.led.CANdleStickyFaults, bits: int) -> None
Updates current fault list with specified bit field of faults
- Parameters:
bits – bit field of faults to update with
__init__(self: phoenix5._ctre.led.CANdleStickyFaults) -> None
- property APIError
API error detected. Make sure API and firmware versions are compatible.
- property BootDuringEnable
Boot while receiving an enable frame
- property HardwareFault
Device detects hardware failure
- property ShortCircuit
Output pin is shorted to something
- property SoftwareFuse
Exceeded output current of 6 amps
- property ThermalFault
Device is over temperature
- property V5TooHigh
5V Line is over 6V
- property V5TooLow
5V Line is under 4 V
- property VBatTooHigh
VBat is over 30V
- property VBatTooLow
VBat is under 5V
- hasAnyFault() bool
- Returns:
true if any faults are tripped
- toBitfield() int
- Returns:
Current fault list as a bit field
- update(bits: int) None