public static interface Led.ColorChannelEditor
Modifier and Type | Method and Description |
---|---|
void |
commit()
Write the settings to the board
|
Led.ColorChannelEditor |
setDelay(short delay)
How long to wait before starting the pattern.
|
Led.ColorChannelEditor |
setFallTime(short time)
How long the transition should take from high to low state, in milliseconds
|
Led.ColorChannelEditor |
setHighIntensity(byte intensity)
Intensity value of the high state
|
Led.ColorChannelEditor |
setHighTime(short time)
How long the pulse stays in the high state
|
Led.ColorChannelEditor |
setLowIntensity(byte intensity)
Intensity value of the low state
|
Led.ColorChannelEditor |
setPulseDuration(short duration)
How long one pulse is
|
Led.ColorChannelEditor |
setRepeatCount(byte count)
How many times to repeat a pulse pattern
|
Led.ColorChannelEditor |
setRiseTime(short time)
How long the transition should take from low to high state, in milliseconds
|
Led.ColorChannelEditor setHighIntensity(byte intensity)
intensity
- LED intensity the high state should be in, between [0 - 31]Led.ColorChannelEditor setLowIntensity(byte intensity)
intensity
- LED intensity the low state should be in, between [0 - 31]Led.ColorChannelEditor setRiseTime(short time)
time
- Transition time (ms) from low to high stateLed.ColorChannelEditor setHighTime(short time)
time
- Length of time (ms) to spend in the high stateLed.ColorChannelEditor setFallTime(short time)
time
- Length of time (ms) from high to low stateLed.ColorChannelEditor setPulseDuration(short duration)
duration
- Length of one pulse (ms)Led.ColorChannelEditor setDelay(short delay)
delay
- Length of the delay (ms)Led.ColorChannelEditor setRepeatCount(byte count)
count
- Number of repetitions, set to 255 to repeat indefinitelyvoid commit()