public static interface Led.PatternEditor
Modifier and Type | Method and Description |
---|---|
void |
commit()
Write the settings to the board
|
Led.PatternEditor |
delay(short delay)
Set how long to wait before starting the pattern.
|
Led.PatternEditor |
fallTime(short time)
Set how long the transition should take from high to low state, in milliseconds
|
Led.PatternEditor |
highIntensity(byte intensity)
Set the intensity value of the high state
|
Led.PatternEditor |
highTime(short time)
Set how long the pulse stays in the high state
|
Led.PatternEditor |
lowIntensity(byte intensity)
Set the intensity value of the low state
|
Led.PatternEditor |
pulseDuration(short duration)
Set the duration of one pulse
|
Led.PatternEditor |
repeatCount(byte count)
Set how many times to repeat a pulse pattern
|
Led.PatternEditor |
riseTime(short time)
Set how long the transition should take from low to high state, in milliseconds
|
Led.PatternEditor highIntensity(byte intensity)
intensity
- LED intensity the high state should be in, between [0 - 31]Led.PatternEditor lowIntensity(byte intensity)
intensity
- LED intensity the low state should be in, between [0 - 31]Led.PatternEditor riseTime(short time)
time
- Transition time (ms) from low to high stateLed.PatternEditor highTime(short time)
time
- Length of time (ms) to spend in the high stateLed.PatternEditor fallTime(short time)
time
- Length of time (ms) from high to low stateLed.PatternEditor pulseDuration(short duration)
duration
- Length of one pulse (ms)Led.PatternEditor delay(short delay)
delay
- Length of the delay (ms)Led.PatternEditor repeatCount(byte count)
count
- Number of repetitions, use Led.PATTERN_REPEAT_INDEFINITELY
to repeat forevervoid commit()