Class «led»
red
Syntax
brick.led().red(); brick.led().red();green
Syntax
brick.led().green(); brick.led().green();orange
Syntax
off
Syntax
Last updated
Was this helpful?
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(); brick.led().red();Turns the LED on in the "green" mode.
brick.led().green(); brick.led().green();Turns the LED on in the "orange" mode.
Turns off the LED.
Last updated
Was this helpful?
Was this helpful?
brick.led().orange();brick.led().orange();brick.led().off();brick.led().off();