Hi there,
I am trying to get the touch screen to work following emwin manual:
However i never understood where to put those routines in order emwin to "know" what are the implementations.
GUI_TOUCH_GetState() never returns a value.
I have tried to implement inside LCDConf.c, at a separete file GUI_TOUCH_X.c, GUI_TOUCH_X_Analog.c etc.
Nothing worked.
Am i missing sth here?
Can you please provide an "official" example with the code structure as it supposed to be?
Any help would be very appreciated!
Thanks a lot in advance.
I am trying to get the touch screen to work following emwin manual:
I have made the hardware implementations of the above routines and when i call them directly i can print on screen the x and y values of the touch.Implementing the hardware routines
The first step of implementing a touch screen should be filling the hardware routines
with code. These routines are:
GUI_TOUCH_X_ActivateX(), GUI_TOUCH_X_ActivateY()
GUI_TOUCH_X_MeasureX(), GUI_TOUCH_X_MeasureY()
However i never understood where to put those routines in order emwin to "know" what are the implementations.
GUI_TOUCH_GetState() never returns a value.
I have tried to implement inside LCDConf.c, at a separete file GUI_TOUCH_X.c, GUI_TOUCH_X_Analog.c etc.
Nothing worked.
Am i missing sth here?
Can you please provide an "official" example with the code structure as it supposed to be?
Any help would be very appreciated!
Thanks a lot in advance.