Hi
I have a joystick with 2 analog output 0 volts to 3 volts as X and Y axis .I want to use ADC for moving the cursor on the lcd.At first, I want to set the position of the cursor manually .The size of the lcd is 7 inch with SSD1963 driver.
everything is good for showing text,button,icon,.... on the lcd , but when I use GUI_CURSOR_SetPosition() for changing the position of cursor on the lcd on the white background color , Black color line created after the cursor movement.I use WM_MOUSEOVER message for refreshing the window region as below:
WM_InvalidateWindow(WM_GetClientWindow(_hFrame));
But it does not work.
I think the problem is the reading the color of the background of lcd because of invalid setup the color format of lcd.
I setup the color section of LCDConf.c as below:
#define COLOR_CONVERSION GUICC_565
#define DISPLAY_DRIVER GUIDRV_FLEXCOLOR
Please help me to solve my problem
Regards
I have a joystick with 2 analog output 0 volts to 3 volts as X and Y axis .I want to use ADC for moving the cursor on the lcd.At first, I want to set the position of the cursor manually .The size of the lcd is 7 inch with SSD1963 driver.
everything is good for showing text,button,icon,.... on the lcd , but when I use GUI_CURSOR_SetPosition() for changing the position of cursor on the lcd on the white background color , Black color line created after the cursor movement.I use WM_MOUSEOVER message for refreshing the window region as below:
WM_InvalidateWindow(WM_GetClientWindow(_hFrame));
But it does not work.
I think the problem is the reading the color of the background of lcd because of invalid setup the color format of lcd.
I setup the color section of LCDConf.c as below:
#define COLOR_CONVERSION GUICC_565
#define DISPLAY_DRIVER GUIDRV_FLEXCOLOR
Please help me to solve my problem
Regards
The post was edited 1 time, last by tictactoe ().