Package com.ctre.phoenix.led
Class CANdleConfiguration
java.lang.Object
com.ctre.phoenix.CustomParamConfiguration
com.ctre.phoenix.led.CANdleConfiguration
public class CANdleConfiguration extends CustomParamConfiguration
Configurables available to CANdle
-
Field Summary
Fields Modifier and Type Field Description double
brightnessScalar
Brightness scalar for all LEDs controlledboolean
disableWhenLOS
True to turn off LEDs when Loss of Signal occurrsboolean
statusLedOffWhenActive
True to turn off Status LED when CANdle is actively being controlledCANdle.LEDStripType
stripType
What type of LEDs the CANdle controlsboolean
v5Enabled
True to turn off the 5V rail.CANdle.VBatOutputMode
vBatOutputMode
The behavior of VBat outputFields inherited from class com.ctre.phoenix.CustomParamConfiguration
customParam0, customParam1, enableOptimizations
-
Constructor Summary
Constructors Constructor Description CANdleConfiguration()
-
Method Summary
-
Field Details
-
stripType
What type of LEDs the CANdle controls -
brightnessScalar
Brightness scalar for all LEDs controlled -
disableWhenLOS
True to turn off LEDs when Loss of Signal occurrs -
statusLedOffWhenActive
True to turn off Status LED when CANdle is actively being controlled -
vBatOutputMode
The behavior of VBat output -
v5Enabled
True to turn off the 5V rail. This turns off the on-board LEDs as well.
-
-
Constructor Details
-
CANdleConfiguration
public CANdleConfiguration()
-
-
Method Details
-
toString
- Overrides:
toString
in classCustomParamConfiguration
- Returns:
- String representation of configs
-
toString
- Overrides:
toString
in classCustomParamConfiguration
- Parameters:
prependString
- String to prepend to configs- Returns:
- String representation of configs
-