Documentation
MXC_DimSet
boolean MXC_DimSet (int $InstanceID, int $Intensity)
Parameters
InstanceID | ID of the device to be switched |
Intensity | Value from 0-100 (in %) |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
Dims the device with ID InstanceID to value Intensity
Example
MXC_DimSet(12345, 50); //Dimming to 50%