Send feedback!
(Edit)
EIB_SetRGB
boolean EIB_SetRGB (integer $InstanceID, integer $Red, integer $Green, integer $Blue)
Parameters
InstanceID |
ID of the device to be switched
|
Red |
0 .. 255 (0 = off, 255 = bright)
|
Green |
0 .. 255 (0 = off, 255 = bright)
|
Blue |
0 .. 255 (0 = off, 255 = bright)
|
Returns
If the command succeeds, it returns TRUE, otherwise FALSE. |
Description
Sets the RGB stripe of the device with ID InstanceID to red value Red, green value Green and blue value Blue.
Example
EIB_SetRGB(12345, 255, 0, 0); //Sets the RGB stripe to red