EA LPC1788 board using emWin - Cannot run the Hello World Example

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

EA LPC1788 board using emWin - Cannot run the Hello World Example

791 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MortenD on Tue Jun 19 04:10:16 MST 2012
Hi!
I am quite new at using the ARM Cortex M3 kernel and the LPC1788/EM artist development kit with a 7" display. After downloading the emWin ver 5.14 BSB I was able to run the Industrial example immediately. Then I just removed all the calls in the function MainTask() and replaced it with:

      GUI_Init();
      GUI_DispString("Hello World!");
      while(1)
      {
        GUI_Delay(500);
      }

In main() the hardware is still initialized, so I guess the HW should work?

HW_X_Config();      // Initialization of Hardware

Nothing is displayed, what is missing?

I even tried to run the Industrial example as normal, then adding the Hello World lines after displaying the gauges and the graphs. Then the GUI_Init(); was removed, so that the program ended up in the followinbg loop:


//      GUI_Init();
      GUI_DispString("Hello World!");
      while(1)
      {
        GUI_Delay(500);
      }

No text is display (except that the gauges and the graphs were still there)

What do I do wrong?

BR
Morten Dramstad
标签 (1)
0 项奖励
回复
1 回复

751 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Mon Jul 16 10:03:05 MST 2012
Could please upload modified file.

0 项奖励
回复