lpcware

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

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
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

Outcomes