boolean LCN_SetRGBW (int $InstanceID, int $Red, int $Green, int $Blue, int $White)
InstanceID | ID of the device to be switched |
Red | Intensity between 1..100 |
Green | Intensity between 1..100 |
Blue | Intensity between 1..100 |
White | Intensity between 1..100 |
If the command succeeds, it returns TRUE, otherwise FALSE.
Sets the color and white value of the instance with ID InstanceID to Red, Green and Blue, and the intensity to White.
//Set instance 12345 to full intensity red.
LCN_SetRGBW(12345, 100, 0, 0, 100);