1 Reply Latest reply on Mar 20, 2017 6:31 PM by Intel Corporation

    Library Works with UNO but not Intel Edison

    fawwaz
      the touch sensing library will not upload to the Intel Edison but it will to the UNO.  the library used for this TFT LCD is Adafruit_ili9341.
      https://github.com/KurtE/Adafruit_ILI9341/tree/Intel-Edison

       

      ERROR USING TOUCHSCREEN.H


      Arduino: 1.8.1 (Windows 10), Board: "Intel® Edison"


      In file included from C:\Users\Mr Fawwaz\Desktop\SMART_PARKING\SMART_PARKING.ino:4:0:


      C:\Program Files (x86)\Arduino\libraries\TouchScreen/TouchScreen.h:51:12: error: 'RwReg' does not name a type


      volatile RwReg *xp_port, *yp_port, *xm_port, *ym_port;



      C:\Program Files (x86)\Arduino\libraries\TouchScreen/TouchScreen.h:52:3: error: 'RwReg' does not name a type


      RwReg xp_pin, xm_pin, yp_pin, ym_pin;



      exit status 1
      Error compiling for board Intel® Edison.



      I don't know enough about libraries to change the .h file to fix this.  I was hoping someone could point me in the right direction on making it compatible with the Intel Edison because this is the best/only library that works well for me. Thanks.

       

      You can download the library here.