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;
Summary of Contents for AFL2-17A-H61-i3/PC-R12
Page 17: ...AFL2 17A AB H61 Page XVII Figure C 40 Symantec Ghost Window 242 ...
Page 21: ...AFL2 17A AB H61 Page 1 1 Introduction Chapter 1 ...
Page 34: ...AFL2 17A AB H61 Page 14 2 LED Light Bar Optional Chapter 2 ...
Page 57: ...AFL2 17A AB H61 Page 37 3 Detailed Specifications Chapter 3 ...
Page 63: ...AFL2 17A AB H61 Page 43 4 Unpacking Chapter 4 ...
Page 68: ...AFL2 17A AB H61 Page 48 5 Ins tallation Chapter 5 ...
Page 97: ...AFL2 17A AB H61 Page 77 Chapter 6 6 Sys tem Motherboard ...
Page 133: ...AFL2 17A AB H61 Page 113 Figure 6 36 LCD panel Selection Jumper Location ...
Page 134: ...AFL2 17A AB H61 Page 114 7 Sys tem Maintenance Chapter 7 ...
Page 143: ...AFL2 17A AB H61 Page 123 8 BIOS Setup Chapter 8 ...
Page 180: ...AFL2 17A AB H61 Page 160 9 Software Drivers Chapter 9 ...
Page 216: ...AFL2 17A AB H61 Panel PC Page 196 10 Cooling Management Cons ole iCMC Chapter 7 ...
Page 225: ...AFL2 17A AB H61 Panel PC Page 205 A Safety Precautions Appendix A ...
Page 230: ...AFL2 17A AB H61 Panel PC Page 210 B BIOS Menu Options Appendix B ...
Page 233: ...AFL2 17A AB H61 Panel PC Page 213 Appendix C C One Key Recovery ...
Page 241: ...AFL2 17A AB H61 Panel PC Page 221 Figure C 5 Partition Creation Commands ...
Page 274: ...AFL2 17A AB H61 Panel PC Page 254 D Hazardous Materials Dis clos ure Appendix D ...