emwin touchscreen

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Hi,

      Attached is an example how you can pass touch input to emWin.

      The touch controller has to be initialized on your own. Also you have to manage how the touch data is transferred from the TC.

      You can initialize the touch screen right after GUI_Init() or inside the LCDConf.c when it comes to the LCD controller initialization.

      Once the touch data gets send to emWin by GUI_TOUCH_StoreStateEx() or GUI_PID_StoreState() there is nothing else to do to make emWin respond to touch.

      • PIDConf.zip

        (1.5 kB, downloaded 25 times, last: )