set_color()

Function Definition: set_color(1, 0, 0)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
1, 0, 0intThis method sets the selected LED to a specified colour using red, green, and blue components.

Description

This method sets the selected LED to a specified colour using red, green, and blue components.

Example

There are no examples documented for this article.