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:
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, I have set GUI_NUMBYTES to (1024 * 1024) * 4
- In GUIConf.c, I have set GUI_BLOCKSIZE to 0x80