Documentation
PJ_RunProgram
boolean PJ_RunProgram (int $InstanceID, int $Program)
Parameters
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 |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
Sends a program command to the RGBW-868 controller of the ID InstanceID.
Example
//let LEDs blink rapidly
PJ_RunProgram(12345, 3);