« Back to Product

Documentation

ZW_ColorRGB

Require: IP-Symcon >= 5.4

 boolean ZW_ColorRGB (int $InstanceID, int $Red, int $Green, int $Blue) 

Parameters

InstanceID

Device ID

Red

Red Intensity from 0..255

Green

Green Intensity from 0..255

Blue

Blue Intensity from 0..255

Returns

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

Description

Switches the device with the ID InstanceID to the color value combination RGB.

Example

// Set dark red
ZW_ColorRGB(12345, 255, 0, 0);
Any questions?