AnsweredAssumed Answered

emwin Hello world

Question asked by abbasi.davoud on Dec 26, 2016
Latest reply on Oct 3, 2017 by Vangelis Fortounas

hi.

i work on emwin library. in first hello world project

stm32cubef1\STM32Cube_FW_F1_V1.2.0\Projects\STM3210C_EVAL\Applications\STemWin\STemWin_HelloWorld

my code is :

 

HAL_Init();
SystemClock_Config();
BSP_Config();
GUI_Init();
WM_SetCreateFlags(WM_CF_MEMDEV);
MainTask();
while(1)
{
}

 

and in MainTask()  my code is :

GUI_Clear();
GUI_SetFont(&GUI_Font20_1);
GUI_SetColor(GUI_RED);
GUI_DispString("Hello world!");

 

but nothing is display on lcd. my lcd controller is ILI9341 . i changed the lcd initialization code and i test. that is ok.

but I dont know What is Wrong....

how can i link the emwin to my lcd code ?

Please help me ...

thank you

Outcomes