What can we improve?

Documentation

(Edit)

DMX_SetRGB

boolean DMX_SetRGB (integer $InstanceID, integer $R, integer $G, integer $B)

Parameters

InstanceID ID of the device to be switched
R Brightness value 0 (off) to 255/65535 (8/16 bit) (on, maximum brightness)
G Brightness value 0 (off) to 255/65535 (8/16 bit) (on, maximum brightness)
B Brightness value 0 (off) to 255/65535 (8/16 bit) (on, maximum brightness)

Returns

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

Description

Sends the red, green and blue channels of the ID InstanceID.

Example

// set color to yellow
 
// 8bit instance
DMX_SetRGB(12345, 255, 255, 0);
 
// 16bit instance
DMX_SetRGB(12345, 65535, 65535, 0);
Deutsche Webseite verfügbar
Go to cart
Any questions?