Class «led»
Provides control of the LED on the body of the robot.
red
Turns the LED on in "red" mode.
Syntax
brick.led().red();
green
Turns the LED on in the "green" mode.
Syntax
brick.led().green();
orange
Turns the LED on in the "orange" mode.
Syntax
brick.led().orange();
off
Turns off the LED.
Syntax
brick.led().off();
Last updated
Was this helpful?