Community
cancel
Showing results for 
Search instead for 
Did you mean: 
FAzli
Beginner
971 Views

Library Works with UNO but not Intel Edison

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 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 https://github.com/adafruit/Touch-Screen-Library here.

0 Kudos
1 Reply
idata
Community Manager
45 Views

Hi Fawwaz,

 

 

Thanks for contacting us!

 

 

We would like to let you know that some libraries are written specifically for the Arduino board, and they are based on their MCU architecture and it won't compile on the Edison because the architecture is different. Some libraries can be edited in order to use with the Edison, but in some cases it is not possible, we'd recommend to take a look at these links that could help you:

 

Hope this information helps.

 

 

Regards,

 

-Yermi A.

 

Reply