Skip to content

setRGBLedColor

setRGBLedColor(id, rvalue, bvalue, cvalue)

Parameters

Name Req Type Description
id yes integer identifying a led in the led chain
rvalue yes integer value of red channel
bvalue yes integer value of green channel
cvalue yes integer value of blue channel

Returns

None.

Availability

  • Since: 2.10
  • Radio support: all

Source

radio/src/lua/api_general.cpp