
2.4.2.5 LIGHTBAR_Brightness_Single
Syntax: PACSM_LIGHTBAR_CTRL STD_BOOLEN LIGHTBAR_Brightness_Single(
HANDLE hDev,
PLED_COLOR_INFO Brightness_Step,
int INFO_Size)
Parameters: hDev [IN] – enter a device handle
Brightness_Step [IN] – enter data structure array indicators (see Section 2.4.3 for
details)
。
INFO_Size [IN] – describe the data structure array size.
Remarks: Call this function to send information control packets and use the information in the
packets to control LED.
2.4.3 Structures
2.4.3.1 _LED_COLOR_INFO
Syntax: typedef struct _LED_COLOR_INFO{
LED_INFO LED_Info;
int R_LEVEL;
int G_LEVEL;
int B_LEVEL;
}LED_COLOR_INFO, *PLED_COLOR_INFO;
Parameters: LED_Info – The target LED device address information (see Section 2.4.3.2
_LED_INFO for details)
:
structure
R_LEVEL
、
G_LEVEL
、
B_LEVEL – The brightness level of each LED
:
int
Remarks: The structure includes a target LED device address which should be an actual LED
address. It is the best if the LED device is composed of tri-color (R, G, B) LED. The
structure also contains the brightness level that each individual LED will show.
There are eight different brightness levels (0~7).