为什么屏幕显示不了helloword
//输出hellword
static boolean HelloBrew_HandleEvent(AEEApplet * pApp, AEEEvent eCode, uint16
wParam, uint32 dwParam)
{
AECHAR szText[] = {'I','A','M','E','C',' ','W','o', 'r', 'l', 'd', '\0'};
switch (eCode)
{
case EVT_APP_START:
IDISPLAY_DrawText(pApp->m_pIDisplay, // Display instance
AEE_FONT_BOLD, // Use BOLD font
szText, // Text - Normally comes from resource
-1, // -1 = Use full string length
0, // Ignored - IDF_ALIGN_CENTER
0, // Ignored - IDF_ALIGN_MIDDLE
NULL, // No clipping
IDF_ALIGN_CENTER | IDF_ALIGN_MIDDLE);
IDISPLAY_Update (pApp->m_pIDisplay);
return(TRUE);
case EVT_APP_STOP:
// Add your code here .....
return TRUE;
default:
break;
}
return FALSE;
}