User’s Manual
51
/////////////////////////////////////////////////////////////////////////////
// CL706_GPIO_TESTDlg message handlers
BOOL CL706_GPIO_TESTDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// Add "About..." menu item to system menu.
// IDM_ABOUTBOX must be in the system command range.
ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX);
ASSERT(IDM_ABOUTBOX < 0xF000);
CMenu* pSysMenu = GetSystemMenu(FALSE);
if (pSysMenu != NULL)
{
CString strAboutMenu;
strAboutMenu.LoadString(IDS_ABOUTBOX);
if (!strAboutMenu.IsEmpty())
{
pSysMenu->AppendMenu(MF_SEPARATOR);
pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu);
}
}
// Set the icon for this dialog. The framework does this automatically
// when the application's main window is not a dialog
SetIcon(m_hIcon, TRUE);
// Set big icon
SetIcon(m_hIcon, FALSE);
// Set small icon
// TODO: Add extra initialization here
// LED's
CWnd *pWndLedBtn1 = (CWnd *)GetDlgItem(IDC_BTN_LED1);
m_ButtonLED1.SetLED(pWndLedBtn1,ID_LED_GREEN,ID_SHAPE_ROUND,500);
m_ButtonLED1.SwitchOn();
m_ButtonLED1.LedOff();
CWnd *pWndLedBtn2 = (CWnd *)GetDlgItem(IDC_BTN_LED2);
m_ButtonLED2.SetLED(pWndLedBtn2,ID_LED_GREEN,ID_SHAPE_ROUND,500);
m_ButtonLED2.SwitchOn();
m_ButtonLED2.LedOff();
InitializeWinIo();
CWnd *pWndLedBtn3 = (CWnd *)GetDlgItem(IDC_BTN_LED3);
m_ButtonLED3.SetLED(pWndLedBtn3,ID_LED_GREEN,ID_SHAPE_ROUND,500);
m_ButtonLED3.SwitchOn();
m_ButtonLED3.LedOff();
CWnd *pWndLedBtn4 = (CWnd *)GetDlgItem(IDC_BTN_LED4);
Summary of Contents for FEBC-3158
Page 8: ...User s Manual 1 General Information CHAPTER 1 ...
Page 11: ...User s Manual 4 FEBC 3158 S001 Dimensions Uint mm Figure 1 1 ...
Page 12: ...User s Manual 5 Hardware Installation CHAPTER 2 ...
Page 17: ...User s Manual 10 2 4 I O indication Front view Rear view Figure 2 14 ...
Page 24: ...User s Manual 17 Figure 2 24 Figure 2 25 ...
Page 28: ...User s Manual 21 BIOS Setup CHAPTER 3 ...
Page 50: ...User s Manual 43 Driver Installation CHAPTER 4 ...