What can we improve?

Documentation

(Edit)

PJ_SwitchLED

 boolean PJ_SwitchLED (int $InstanceID, int $LED, boolean $Status) 

Parameters

InstanceID

ID of the device to be switched

LED

1

Status

True = On / False = Off

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

Turns on or off the light-emmiting diode of FD-868 with the ID InstanceID.

Example

PJ_SwitchLED($id_lcd,1,False); // Red
PJ_SwitchLED($id_lcd,3,True); // Green