Documentation
DMX_FadeChannel
boolean DMX_FadeChannel (int $InstanceID, int $Channel, int $Value, float $FadeTime)
Parameters
InstanceID | ID of the device to be switched |
Channel | 0 = all module channels, 1 – 512 depending on configuration |
Value | 0-255 |
FadeTime | Time in seconds |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
Dims the Channel of the device with ID InstanceID to Value with a certain FadeTime__
Example
DMX_FadeChannel(12345, 0, 255, 2.5); //Dim all channels of the module to 255 in 2,5 sec