
AFL2-17A/AB-H61
P a g e 31
HANDLE hSMB_Dev = LIGHTBAR_DriverInit();//Init SMBAPI driver and get device Handle.
LIGHTBAR_DeviceInit(hSMB_Dev);//Init Target device
//Set LED level information.
LEDCOLOR.R_LEVEL = 7;
LEDCOLOR.G_LEVEL = 7;
LEDCOLOR.B_LEVEL = 7;
//Set LED Address
LEDCOLOR.LED_Info.Main_Addr = 0xC0;
LEDCOLOR.LED_Info.R_LN = 0x00;
LEDCOLOR.LED_Info.G_LN = 0x01;
LEDCOLOR.LED_Info.B_LN = 0x02;
If(LIGHTBAR_Brightness_Single(hSMB_Dev, LEDCOLOR, 1) == False){
//Error message
}
LIGHTBAR_DeviceClose(hSMB_Dev);
//Close Device.
LIGHTBAR_DriverUninit(hSMB_Dev);
//Close Driver Handle
delete LEDCOLOR;
}
2.4.4.2
Tu rn o n LED - m u ltip le
{
//Define Data structure
PLED_PWM_INFO LEDCOLOR = (PLED_PWM_INFO)malloc(sizeof(LED_PWM_INFO) * 4);
HANDLE hSMB_Dev = LIGHTBAR_DriverInit();//Init SMBAPI driver and get device Handle.
LIGHTBAR_DeviceInit(hSMB_Dev);//Init Target device
LEDCOLOR [0].LED_Info.Main_Addr = 0xD0;
LEDCOLOR [0].LED_Info.R_LN = 0x02;
LEDCOLOR [0].LED_Info.G_LN = 0x03;
LEDCOLOR [0].LED_Info.B_LN = 0x04;
LEDCOLOR [0].R_LEVEL = 7;
Содержание AFL2-17A-H61-i3/PC-R12
Страница 17: ...AFL2 17A AB H61 Page XVII Figure C 40 Symantec Ghost Window 242 ...
Страница 21: ...AFL2 17A AB H61 Page 1 1 Introduction Chapter 1 ...
Страница 34: ...AFL2 17A AB H61 Page 14 2 LED Light Bar Optional Chapter 2 ...
Страница 57: ...AFL2 17A AB H61 Page 37 3 Detailed Specifications Chapter 3 ...
Страница 63: ...AFL2 17A AB H61 Page 43 4 Unpacking Chapter 4 ...
Страница 68: ...AFL2 17A AB H61 Page 48 5 Ins tallation Chapter 5 ...
Страница 97: ...AFL2 17A AB H61 Page 77 Chapter 6 6 Sys tem Motherboard ...
Страница 133: ...AFL2 17A AB H61 Page 113 Figure 6 36 LCD panel Selection Jumper Location ...
Страница 134: ...AFL2 17A AB H61 Page 114 7 Sys tem Maintenance Chapter 7 ...
Страница 143: ...AFL2 17A AB H61 Page 123 8 BIOS Setup Chapter 8 ...
Страница 180: ...AFL2 17A AB H61 Page 160 9 Software Drivers Chapter 9 ...
Страница 216: ...AFL2 17A AB H61 Panel PC Page 196 10 Cooling Management Cons ole iCMC Chapter 7 ...
Страница 225: ...AFL2 17A AB H61 Panel PC Page 205 A Safety Precautions Appendix A ...
Страница 230: ...AFL2 17A AB H61 Panel PC Page 210 B BIOS Menu Options Appendix B ...
Страница 233: ...AFL2 17A AB H61 Panel PC Page 213 Appendix C C One Key Recovery ...
Страница 241: ...AFL2 17A AB H61 Panel PC Page 221 Figure C 5 Partition Creation Commands ...
Страница 274: ...AFL2 17A AB H61 Panel PC Page 254 D Hazardous Materials Dis clos ure Appendix D ...