CANdle

class phoenix5.led.CANdle(deviceId: SupportsInt | SupportsIndex, canbus: str = '')

Bases: pybind11_object

animate(animation: phoenix5._ctre.led.Animation, animSlot: SupportsInt | SupportsIndex = 0) phoenix5._ctre.ErrorCode
clearStickyFaults(timeoutMs: SupportsInt | SupportsIndex = 0) phoenix5._ctre.ErrorCode
configAllSettings(allConfigs: phoenix5._ctre.led.CANdleConfiguration, timeoutMs: SupportsInt | SupportsIndex = 50) phoenix5._ctre.ErrorCode
configBrightnessScalar(brightness: SupportsFloat | SupportsIndex, timeoutMs: SupportsInt | SupportsIndex = 0) phoenix5._ctre.ErrorCode
configFactoryDefault(timeoutMs: SupportsInt | SupportsIndex = 50) phoenix5._ctre.ErrorCode
configGetCustomParam(paramIndex: SupportsInt | SupportsIndex, timeoutMs: SupportsInt | SupportsIndex = 0) int
configGetParameter(param: phoenix5._ctre.ParamEnum, ordinal: SupportsInt | SupportsIndex, timeoutMs: SupportsInt | SupportsIndex = 0) float
configLEDType(type: phoenix5._ctre.led.LEDStripType, timeoutMs: SupportsInt | SupportsIndex = 0) phoenix5._ctre.ErrorCode
configLOSBehavior(disableWhenLOS: bool, timeoutMs: SupportsInt | SupportsIndex = 0) phoenix5._ctre.ErrorCode
configSetCustomParam(paramIndex: SupportsInt | SupportsIndex, value: SupportsInt | SupportsIndex, timeoutMs: SupportsInt | SupportsIndex = 0) phoenix5._ctre.ErrorCode
configSetParameter(param: phoenix5._ctre.ParamEnum, value: SupportsFloat | SupportsIndex, subValue: SupportsInt | SupportsIndex = 0, ordinal: SupportsInt | SupportsIndex = 0, timeoutMs: SupportsInt | SupportsIndex = 0) phoenix5._ctre.ErrorCode
configStatusLedState(disableWhenRunning: bool, timeoutMs: SupportsInt | SupportsIndex = 0) phoenix5._ctre.ErrorCode
configV5Enabled(v5Enabled: bool, timeoutMs: SupportsInt | SupportsIndex = 0) phoenix5._ctre.ErrorCode
configVBatOutput(mode: phoenix5._ctre.led.VBatOutputMode, timeoutMs: SupportsInt | SupportsIndex = 0) phoenix5._ctre.ErrorCode
get5VRailVoltage() float
getAllConfigs(allConfigs: phoenix5._ctre.led.CANdleConfiguration, timeoutMs: SupportsInt | SupportsIndex = 50) None
getBusVoltage() float
getCurrent() float
getFaults(toFill: phoenix5._ctre.led.CANdleFaults) phoenix5._ctre.ErrorCode
getLastError() phoenix5._ctre.ErrorCode
getMaxSimultaneousAnimationCount() int
getStatusFramePeriod(frame: phoenix5._ctre.led.CANdleStatusFrame, timeoutMs: SupportsInt | SupportsIndex = 0) int
getStickyFaults(toFill: phoenix5._ctre.led.CANdleStickyFaults) phoenix5._ctre.ErrorCode
getTemperature() float
getVBatModulation() float
hasResetOccurred() bool
modulateVBatOutput(dutyCyclePrcnt: SupportsFloat | SupportsIndex) phoenix5._ctre.ErrorCode
setControlFramePeriod(frame: phoenix5._ctre.led.CANdleControlFrame, periodMs: SupportsInt | SupportsIndex) phoenix5._ctre.ErrorCode
setLEDs(r: SupportsInt | SupportsIndex, g: SupportsInt | SupportsIndex, b: SupportsInt | SupportsIndex, w: SupportsInt | SupportsIndex = 0, startIdx: SupportsInt | SupportsIndex = 0, count: SupportsInt | SupportsIndex = 512) phoenix5._ctre.ErrorCode
setStatusFramePeriod(frame: phoenix5._ctre.led.CANdleStatusFrame, periodMs: SupportsInt | SupportsIndex, timeoutMs: SupportsInt | SupportsIndex = 0) phoenix5._ctre.ErrorCode