User’s Manual
52
m_ButtonLED4.SetLED(pWndLedBtn4,ID_LED_GREEN,ID_SHAPE_ROUND,500);
m_ButtonLED4.SwitchOn();
m_ButtonLED4.LedOff();
InitializeWinIo();
CWnd *pWndLedBtn5 = (CWnd *)GetDlgItem(IDC_BTN_LED5);
m_ButtonLED5.SetLED(pWndLedBtn5,ID_LED_GREEN,ID_SHAPE_ROUND,500);
m_ButtonLED5.SwitchOn();
m_ButtonLED5.LedOff();
CWnd *pWndLedBtn6 = (CWnd *)GetDlgItem(IDC_BTN_LED6);
m_ButtonLED6.SetLED(pWndLedBtn6,ID_LED_GREEN,ID_SHAPE_ROUND,500);
m_ButtonLED6.SwitchOn();
m_ButtonLED6.LedOff();
InitializeWinIo();
CWnd *pWndLedBtn7 = (CWnd *)GetDlgItem(IDC_BTN_LED7);
m_ButtonLED7.SetLED(pWndLedBtn7,ID_LED_GREEN,ID_SHAPE_ROUND,500);
m_ButtonLED7.SwitchOn();
m_ButtonLED7.LedOff();
CWnd *pWndLedBtn8 = (CWnd *)GetDlgItem(IDC_BTN_LED8);
m_ButtonLED8.SetLED(pWndLedBtn8,ID_LED_GREEN,ID_SHAPE_ROUND,500);
m_ButtonLED8.SwitchOn();
m_ButtonLED8.LedOff();
InitializeWinIo();
SetTimer(1,200, 0);
return TRUE; // return TRUE unless you set the focus to a control
}
void CL706_GPIO_TESTDlg::OnSysCommand(UINT nID, LPARAM lParam)
{
if ((nID & 0xFFF0) == IDM_ABOUTBOX)
{
CAboutDlg dlgAbout;
dlgAbout.DoModal();
}
else
{
CDialog::OnSysCommand(nID, lParam);
}
}
// If you add a minimize button to your dialog, you will need the code below
// to draw the icon. For MFC applications using the document/view model,
// this is automatically done for you by the framework.
Содержание FEBC-3158
Страница 2: ...User s Manual 2 Version Note No Ver Note Date Writer 1 A1 0 first publish 20151106 Colin Cheng ...
Страница 8: ...User s Manual 1 General Information CHAPTER 1 ...
Страница 11: ...User s Manual 4 FEBC 3158 S001 Dimensions Uint mm Figure 1 1 ...
Страница 12: ...User s Manual 5 Hardware Installation CHAPTER 2 ...
Страница 17: ...User s Manual 10 2 4 I O indication Front view Rear view Figure 2 14 ...
Страница 24: ...User s Manual 17 Figure 2 24 Figure 2 25 ...
Страница 28: ...User s Manual 21 BIOS Setup CHAPTER 3 ...
Страница 50: ...User s Manual 43 Driver Installation CHAPTER 4 ...
Страница 53: ...User s Manual 46 SYSTEM RESOURCE CHAPTER 5 ...
Страница 64: ...User s Manual 57 m_ButtonLED5 LedOff ...