Class «led»
This article is automatically translated from Russian by Google Translator.
Provides control of the LED on the body of the robot.
red
Turns the LED on in "red" mode.
Syntax
green
Turns the LED on in the "green" mode.
Syntax
orange
Turns the LED on in the "orange" mode.
Syntax
brick.led().orange();
brick.led().orange();
off
Turns off the LED.
Syntax