Skip to content

Search the documentation

Kit
Firmware

RGBLed

Smart Home

The house’s colour lamp; colours are red, green and blue from 0 to 255.

The RGBLed class is reached through this attribute of home.

Always there.

All the attributes of home are in its table.

Lights the lamp in a colour made of red, green and blue, each from 0 to 255.

set_color(r, g, b)

Used in examples: Hello, house, OLED picture, Web dashboard, Doorbell