anyKode Marilou
ContentsIndexHome
PreviousUpNext
DevicesGroupLED::GetOnColors

Getting the color of each LED.

C++
M32 GetOnColors(Moda::Commons::RGBA8 * pColors, int ColorsCount);
Parameters 
Description 
Moda::Commons::RGBA8 * pColors 
[in/out] array to be filled out with the color intensity of each LED in the group 
int ColorsCount 
[in] Table size expressed in number of elements. 

The system error code MODA_EOK if no error occurred, an error (see MODA errors) otherwise.

GetOnColors returns the color of each LED in the group. This is the color when the LED is in 'On' state with its color intensity set to 1.

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!