Torre#
Introducción#
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.
A continuación se muestra una lista de todos los bloques:
set Signal Tower — Sets the light pattern of one or more LEDs on the Signal Tower.
when Signal Tower bumper pressed — Runs a stack of blocks when the Signal Tower bumper is pressed.
Torre de señales#
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.
establecer [SignalTower 1 v] a [verde v] y [solid v]
Parámetro |
Descripción |
|---|---|
torre de señales |
Which Signal Tower to use, configured in the Devices window. |
color |
Selects which color light to set the pattern for:
|
patrón |
Sets the light pattern:
|
Ejemplo
cuando empezó
[Make the blue light blink.]
establecer [SignalTower 1 v] a [azul v] y [blinking v]
esperar (3) segundos
establecer [SignalTower 1 v] a [azul v] y [apagado v]
cuando se presiona el parachoques de la torre de señalización#
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.
cuando se presiona el parachoques [SignalTower 1 v] :: hat events
Parámetro |
Descripción |
|---|---|
dispositivo |
Which Signal Tower to use, configured in the Devices window. |
cuando se presiona el parachoques [SignalTower 1 v] :: hat events
[Set the Signal Tower as a Control Stop.]
Establecer [Brazo1 v] para controlar la detención