setled()

Function Definition: setled(color, brightness)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
color, brightnessintThis function sets the LED color and brightness. The color is specified using RGB values (Red, Green, Blue), and the brightness is an integer between 0 and 100.

Description

This function sets the LED color and brightness. The color is specified using RGB values (Red, Green, Blue), and the brightness is an integer between 0 and 100.

Example

There are no examples documented for this article.