AVOLITES TITAN API

SetColourLed

Set the value of a coloured LED using four bytes to represent the colour components ARGB.

Namespace: Panel

Syntax

MACRO

Void Panel.SetColourLed(String itemClass, String itemGroup, Int32 index, Int32 alpha, Int32 red, Int32 green, Int32 blue)

HTTP

http://[ip]:4430/titan/script/2/Panel/SetColourLed?itemClass={string}&itemGroup={string}&index={titanId}&alpha={titanId}&red={titanId}&green={titanId}&blue={titanId}

Parameters

itemClass ( String ) : The class the LED to be set is in.

itemGroup ( String ) : The item group.

index ( Int32 ) : The index of the LED in the class.

alpha ( Int32 ) : The alpha value.

red ( Int32 ) : The red value.

green ( Int32 ) : The green value.

blue ( Int32 ) : The blue value.