emwin touchscreen

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

    • emwin touchscreen

      can someone please upload an example that show how to config a touch screen in emwin and where configuration shoud done?
      and in example show how to use touch screen for a simple action like press a button.
    • 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 165 times, last: )