CONDUJO#
Introducción#
El robot VEX 123 tiene una luz LED incorporada que puede brillar en diferentes colores.
A continuación se muestra una lista de todos los métodos:
Acciones: Controlar la luz LED.
glow— Sets the color of the LED light.
Comportamiento#
glow#
glow sets the color of the robot’s LED light.
Usage:
robot.led.glow(color)
Parámetro |
Descripción |
|---|---|
|
The color to set the LED to:
|
# Blink the LED light forever
while True:
robot.led.glow(GREEN)
wait(0.5, SECONDS)
robot.led.glow(OFF)
wait(0.5, SECONDS)