2016-12-26 09:54 AM
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
2016-12-28 12:46 AM
Dear
abbasi.davoud
,Try touse the latest version of
v1.4.0firmware package as containsupdates and enhancements.Please,Keep us informed about your progress on this.
Best Regards
Imen
2016-12-31 01:44 PM
HIthank you for responsei send to you my project.please check my codei dont know what is wrong...thank you.
________________ Attachments : emwin-test.rar : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hz0g&d=%2Fa%2F0X0000000bFD%2FDoDzUeQF2aPE_dz0jJ_mNF_uIEYi4l.KwmoBfHwlclQ&asPdf=false2017-10-03 07:15 AM
Hello!
Just after a raw investigation , found that you are not use the correct driver for your LCD. Inside LCDConf_stm32l10e_eval.c the GUIDRV_FLEXCOLOR_F66712 is for other LCD module.
For ILI9341 use GUIDRV_FLEXCOLOR_F66709
Also STemWin, CubeMx, firmware libraries are not updated to latest version.
Regards.
vf