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

1 reply [Last post]
MortenD
Offline
Joined: 2012-06-19

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

0
Your rating: None

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mc's picture
mc
Offline
Joined: 2012-05-21

Could please upload modified file.

feedback