« Back to Product

Documentation

LCN_SetIntensity

 boolean LCN_SetIntensity (int $InstanceID, int $Intensity, int $Ramp) 

Parameters

InstanceID

ID of the device to be switched

Intensity

0-100%

Ramp

0 = Immediately; n = Seconds

Returns

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

Description

Dims the device with the ID InstanceID to value Intensity in Ramp seconds.

Example

LCN_SetIntensity(12345, 100, 0); //Dim device to 100% immediately
Any questions?