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.
设定 [SignalTower 1 v] 为 [绿色 v] 和 [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
当开始
[Make the blue light blink.]
设定 [SignalTower 1 v] 为 [蓝色 v] 和 [blinking v]
等待 (3) 秒
设定 [SignalTower 1 v] 为 [蓝色 v] 和 [灭 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.
当 [SignalTower 1 v] 按下 :: hat events
Parameter |
Description |
|---|---|
device |
Which Signal Tower to use, configured in the Devices window. |
当 [SignalTower 1 v] 按下 :: hat events
[Set the Signal Tower as a Control Stop.]
设定 [Arm 1 v] 停用