set_color()

Function Definition: set_color(1, 1, 1)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
1, 1, 1intSets the RGB output of the selected LED. To switch the selected LED off, the equivalent all-zero RGB values can be used where supported.

Description

Sets the RGB output of the selected LED. To switch the selected LED off, the equivalent all-zero RGB values can be used where supported.

Example:

alvik.left_led.set_color(1, 1, 1)

 

Example

There are no examples documented for this article.