Instructions from Controls team
Ken 1:27 PM
How to send commands to the bling server
There are 7 network tables parameters:
red: 0..255
green: 0..255
blue: 0..255
repeat: 0.. (number of times to repeat the pattern)
wait: 0.. (msec)
brightness: 0.. 255
command:
Set all of the parameters other than the “command” then set “command” last.
The available commands are:
clear
-> turn off all LEDs. All other parameters are “don’t care”
colorWipe
-> start by setting the first led. After each “wait” turn on the
next LED on the strip. Clear strip at end of each repetition
of the pattern
solid
-> turn on the whole strip. After “wait” clear the strip. If “wait”
is set to zero never clear the strip. The repeat parameter has
no effect
blink
-> blink all LEDs on and off delaying by “wait” between each change of
state. Clear strip after the requested number of iterations.
threeWipe
-> send a three-pixel pattern moving across the LED array from start
to end of array. The speed is controlled by “wait” (larger wait
moves the pattern more slowly). Clear the strip after the requested
number of iterations
theaterChase
-> fancy moving pattern. The speed at which the pattern changes is
controlled by “wait”, Clear the strip after the requested number
of iterations.
rainbow
-> fancy moving pattern. The speed at which the pattern changes is
controlled by “wait”, Clear the strip after the requested number
of iterations.
theaterChaseRainbow
-> fancy moving pattern. The speed at which the pattern changes is
controlled by “wait”, Clear the strip after the requested number
of iterations.
rainbowCycle
-> fancy moving pattern. The speed at which the pattern changes is
controlled by “wait”, Clear the strip after the requested number
of iterations.
Instructions from Controls team Ken 1:27 PM How to send commands to the bling server There are 7 network tables parameters: