#

介绍#

The Signal Tower is a device that uses colored lights to show the robot’s status. It also has a built-in bumper switch that can detect when it is pressed.

以下是所有模块的列表:

设置信号塔#

The set signal tower stack block sets the light pattern of one or more LEDs on the Signal Tower.

These lights can be used to track where the robot is at in a project or to show when certain conditions are met.

设定 [SignalTower 1 v] 为 [绿色 v] 和 [solid v]

范围

描述

信号塔

Which Signal Tower to use, configured in the Devices window.

颜色

Selects which color light to set the pattern for:

  • green
  • red
  • yellow
  • blue
  • white
  • all

图案

Sets the light pattern:

  • solid — Lights will constantly stay on
  • blinking — Lights will blink on and off
  • off — Turns the lights off

例子

当开始
[Make the blue light blink.]
设定 [SignalTower 1 v] 为 [蓝色 v] 和 [blinking v]
等待 (3) 秒
设定 [SignalTower 1 v] 为 [蓝色 v] 和 [灭 v]

当信号塔保险杠被按下时#

The when Signal Tower bumper pressed hat block runs the attached stack of blocks when the button on the Signal Tower is pressed. This can be used as an emergency stop.

当 [SignalTower 1 v] 按下  :: hat events

范围

描述

设备

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] 停用