Tower#
Introduction#
The Signal Tower is an indicator device that provides visual status feedback using colored lights and includes a built-in bumper switch for detecting physical interaction.
Below is a list of all blocks:
set Signal Tower — Sets the light pattern of one or more color lights on the Signal Tower.
when Signal Tower bumper pressed — Starts a stack of blocks when the Signal Tower bumper is pressed.
set Signal Tower#
The set signal tower block sets the light pattern of one or more color lights on the Signal Tower.
set [SignalTower1 v] to [green v] and [solid v]
Parameter |
Description |
|---|---|
signal tower |
Which Signal Tower to use, configured in the Devices window. |
color |
Selects which color light to set the pattern for:
|
pattern |
Sets the light pattern:
|
Example
when started
[Make the blue light blink.]
set [SignalTower1 v] to [blue v] and [blinking v]
wait (3) seconds
set [SignalTower1 v] to [blue v] and [off v]
when Signal Tower bumper pressed#
The when Signal Tower bumper pressed block runs the attached stack when the button on the Signal Tower is pressed.
when [SignalTower1 v] bumper pressed :: hat events
Parameter |
Description |
|---|---|
device |
Which Signal Tower to use, configured in the Devices window. |
when [SignalTower1 v] bumper pressed :: hat events
[Set the Signal Tower as a Control Stop.]
set [Arm1 v] to control stopped