CTRE_Phoenix 5.20.2
com.ctre.phoenix.led.CANdle.LEDStripType Enum Reference

Public Member Functions

 LEDStripType (int value)
 

Static Public Member Functions

 [static initializer]
 
static LEDStripType valueOf (int value)
 
static LEDStripType valueOf (double value)
 

Public Attributes

 GRB =(0)
 
 RGB =(1)
 
 BRG =(2)
 
 GRBW =(6)
 
 RGBW =(7)
 
 BRGW =(8)
 
final int value
 

Detailed Description

The various LED types that the CANdle can support

Member Function Documentation

◆ [static initializer]()

com.ctre.phoenix.led.CANdle.LEDStripType.[static initializer]
inlinestatic

static c'tor, prepare the map

◆ valueOf() [1/2]

static LEDStripType com.ctre.phoenix.led.CANdle.LEDStripType.valueOf ( double  value)
inlinestatic

Get LEDStripType of specified value

Parameters
valuevalue of LEDStripType
Returns
LEDStripType of specified value

◆ valueOf() [2/2]

static LEDStripType com.ctre.phoenix.led.CANdle.LEDStripType.valueOf ( int  value)
inlinestatic

Get LEDStripType of specified value

Parameters
valuevalue of LEDStripType
Returns
LEDStripType of specified value

Member Data Documentation

◆ BRG

com.ctre.phoenix.led.CANdle.LEDStripType.BRG =(2)

LEDs that are controlled by Blue-Red-Green values

◆ BRGW

com.ctre.phoenix.led.CANdle.LEDStripType.BRGW =(8)

LEDs that are controlled by Blue-Red-Green-White values

◆ GRB

com.ctre.phoenix.led.CANdle.LEDStripType.GRB =(0)

LEDs that are controlled by Green-Red-Blue values

◆ GRBW

com.ctre.phoenix.led.CANdle.LEDStripType.GRBW =(6)

LEDs that are controlled by Green-Red-Blue-White values

◆ RGB

com.ctre.phoenix.led.CANdle.LEDStripType.RGB =(1)

LEDs that are controlled by Red-Green-Blue values

◆ RGBW

com.ctre.phoenix.led.CANdle.LEDStripType.RGBW =(7)

LEDs that are controlled by Red-Green-Blue-White values


The documentation for this enum was generated from the following file: