Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9881 Discussions

Library Works with UNO but not Intel Edison

FAzli
Beginner
1,037 Views
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
111 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