Definitions of API for controlling LED lights of an EV3 intelligent brick. More...
Enumerations | |
enum | ledcolor_t { LED_OFF = 0, LED_RED = 1 << 0, LED_GREEN = 1 << 1, LED_ORANGE = LED_RED | LED_GREEN } |
Enumeration type for supported LED colors. More... | |
Functions | |
ER | ev3_led_set_color (ledcolor_t color) |
Control the color of LED lights. More... | |
Definitions of API for controlling LED lights of an EV3 intelligent brick.
enum ledcolor_t |
ER ev3_led_set_color | ( | ledcolor_t | color | ) |
Control the color of LED lights.
When specifying an incorrect setting value, do not change the color of the LED light.
color | The color to set |
E_OK | Successful completion |
E_PAR | Incorrect setting value |