AFL2-W19A/AB-H61
P a g e 33
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-W19A-H61 Series
Page 17: ...AFL2 W19A AB H61 Page XVII Figure C 40 Symantec Ghost Window 244...
Page 21: ...AFL2 W19A AB H61 Page 1 1 Introduction Chapter 1...
Page 34: ...AFL2 W19A AB H61 Page 14 2 LED Light Bar Optional Chapter 2...
Page 59: ...AFL2 W19A AB H61 Page 39 3 Detailed Specifications Chapter 3...
Page 65: ...AFL2 W19A AB H61 Page 45 4 Unpacking Chapter 4...
Page 70: ...AFL2 W19A AB H61 Page 50 5 Ins tallation Chapter 5...
Page 99: ...AFL2 W19A AB H61 Page 79 6 Sys tem Motherboard Chapter 6...
Page 135: ...AFL2 W19A AB H61 Page 115 Figure 6 36 LCD panel Selection Jumper Location...
Page 136: ...AFL2 W19A AB H61 Page 116 7 Sys tem Maintenance Chapter 7...
Page 145: ...AFL2 W19A AB H61 Page 125 8 BIOS Setup Chapter 8...
Page 182: ...AFL2 W19A AB H61 Page 162 9 Software Drivers Chapter 9...
Page 218: ...AFL2 W19A AB H61 Panel PC Page 198 10 Cooling Management Cons ole iCMC Chapter 10...
Page 227: ...AFL2 W19A AB H61 Panel PC Page 207 A Safety Precautions Appendix A...
Page 232: ...AFL2 W19A AB H61 Panel PC Page 212 B BIOS Menu Options Appendix B...
Page 235: ...AFL2 W19A AB H61 Panel PC Page 215 Appendix C C One Key Recovery...
Page 243: ...AFL2 W19A AB H61 Panel PC Page 223 Figure C 5 Partition Creation Commands...
Page 276: ...AFL2 W19A AB H61 Panel PC Page 256 D Hazardous Materials Dis clos ure Appendix D...