Documentation
PJ_SetLEDs
boolean PJ_SetLEDs (int $InstanceID, boolean $Green, boolean $Yellow, boolean $Red)
Parameters
InstanceID | ID of the device to be switched |
Green | Turns off the green LED |
Yellow | Turns off the yellow LED |
Red | Turns off the red LED |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
Switches the LEDs on the controller with the ID InstanceID.
Example
//Turns the green and yellow LED on and the red LED off.
PJ_SetLEDs(12345,true,true,false);