Hi
I wrote functions GUI_TOUCH_X_ActivateX(), GUI_TOUCH_X_ActivateY(), GUI_TOUCH_X_MeasureX(), GUI_TOUCH_X_MeasureY().
Then checked AD values at different points. After doing this called function GUI_TOUCH_Calibrate() to calibrate the touchscreen.
Running sample program TOUCH_Sample.c confirmed everything went OK. Running a simple program with widget and checking touchscreen coordinates with function GUI_TOUCH_GetState() gives wrong values. What coukd be the problem ?
I wrote functions GUI_TOUCH_X_ActivateX(), GUI_TOUCH_X_ActivateY(), GUI_TOUCH_X_MeasureX(), GUI_TOUCH_X_MeasureY().
Then checked AD values at different points. After doing this called function GUI_TOUCH_Calibrate() to calibrate the touchscreen.
Running sample program TOUCH_Sample.c confirmed everything went OK. Running a simple program with widget and checking touchscreen coordinates with function GUI_TOUCH_GetState() gives wrong values. What coukd be the problem ?