boolean PJ_RunProgram (int $InstanceID, int $Program)
InstanceID | ID of the device to be switched |
Program | 0 – all RGBW off; 1 – all RGBW at the last brightness value; 2- blink slowly; 3- blink rapidly; 4- flash slowly ; 5- flash rapidly; 6- fade slowly |
If the command succeeds, it returns TRUE, otherwise FALSE.
Sends a program command to the RGBW-868 controller of the ID InstanceID.
//let LEDs blink rapidly
PJ_RunProgram(12345, 3);