Search Results
Search results 1-4 of 4.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
I've watched the SDRAM memory, solution for that problem has been to add calling LCD_SetVSizeEx(0, 272, 480); But I think, the settings aren't completed. See the photo Code: LCD_SetVSizeEx(0, 272, 480); TEXT_CreateEx(0, 0, 240, 30, WM_HBKWIN, WM_CF_SHOW, GUI_TA_HCENTER | GUI_TA_VCENTER, 0, text); TEXT_CreateEx(120, 100, 240, 30, WM_HBKWIN, WM_CF_SHOW, GUI_TA_HCENTER | GUI_TA_VCENTER, 1, text); TEXT_CreateEx(0, 200, 240, 30, WM_HBKWIN, WM_CF_SHOW, GUI_TA_HCENTER | GUI_TA_VCENTER, 2, text); TEXT_C…
-
When I change GUIDRV_LIN_32 to GUIDRV_LIN_OSY_32, LTDC get wrong params and the displaying is broken. I've replaced XSIZE_PHYS and YSIZE_PHYS, and LTDC is fixed. #define XSIZE_PHYS 272 #define YSIZE_PHYS 480 #define LCD_SWAP_XY 1 #define LCD_MIRROR_Y 1 #define DISPLAY_DRIVER_0 GUIDRV_LIN_OSY_32 Code: LCD_SetSizeEx(0, XSIZE_PHYS, YSIZE_PHYS); GUI_SetColor(GUI_GREEN); GUI_FillRect(0,0,XSIZE_PHYS,YSIZE_PHYS); GUI_SetColor(GUI_WHITE); GUI_FillRect(5,5,XSIZE_PHYS-5,YSIZE_PHYS-5); The result is in the…
-
Hi, I've got STM324x9I Eval board. I've compiled example of emWin library - all is OK. Now I need rotate display to 90 degress. I've change the definition in LCDConf file: #define DISPLAY_DRIVER_0 GUIDRV_LIN_32 to #define DISPLAY_DRIVER_0 GUIDRV_LIN_OSY_32 and it doesn't work. I've tried to use GUI_SetOrientation too. But it return 0x01. Memory size is: #define GUI_NUMBYTES 163840 Where could be a problem? Thank you for your answers...