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.
-
Hi Sven, I'll try writing directly into the framebuffer. I have looked into the code and I can see we are using MEMDEV, it is enabled. Also, I tried setting the gradient instead of a solid color, it still results in a grayish screen, the result is same for WINDOW_SetDefaultBkColor(). I guess it fails for larger data dump on LCD, because GUI_SetBkColor() works absolutely fine. What might cause this?
-
Hi, Thanks for responding. I went through the LCDConf.c file and have set the address only in LCD_X_Config(). After that I programmed the device and connected the debugger, set a breakpoint in WM_PAINT at before statement GUI_SetBkColor(). I can see the contents at address of _aVRAM[0] does not change after the execution of GUI_SetBkColor() and GUI_Clear(); I have attached the two screenshots of the memory window. The problem persists.
-
I am using two functions GUI_SetBkColor() and GUI_SetColor() in WM_PAINT event to set background color and text/drawing color respectively. Out of the two above, GUI_SetColor() does what is should, but GUI_SetBkColor() causes a grayish flickering display if I select GUI_BLACK and many other colors. What can be the cause of this? Some information that might help is: - Color conversion used is GUICC_M565, so pixel width is 2 Bytes. - Display used is 320x240 - LCD Clock is 6400000 Hz - In GUIConf.c…
-
Hi, In one of the screens, we are trying to create a Graph. C Source Code (1 line) Just when the initialization is done, the whole screen goes Gray and gets blurred until I reset the unit.Initialization of the Graph widget in WM_INIT_DIALOG: hItem = WM_GetDialogItem(pMsg->hWin, ID_GRAPH_0); GRAPH_SetBorder(hItem, 40, 1, 1, 30); hData = GRAPH_DATA_YT_Create(GUI_DARKGREEN, 500, 0, 0); GRAPH_AttachData(hItem, hData); GRAPH_SetGridDistY(hItem, 25); GRAPH_SetGridVis(hItem, 1); GRAPH_SetGridFixedX (hI…