Last updated 3 years ago
This article is automatically translated from Russian by Google Translator.
Provides control of the LED on the body of the robot.
Turns the LED on in "red" mode.
brick.led().red();
Turns the LED on in the "green" mode.
brick.led().green();
Turns the LED on in the "orange" mode.
brick.led().orange();
Turns off the LED.
brick.led().off();
Method
Description
red
green
orange
off