Community
cancel
Showing results for 
Search instead for 
Did you mean: 
AGUIM2
New Contributor I
1,429 Views

C++ library 4D systems touch screen for intel edison

Jump to solution

Hello guys,

I'm working on a project which includes some components among which a touch screen for 4D Systems. Previously, I was working on Arduino card and IDE. But in case of lack of resources, I change to the Intel Edison platform with Eclipse C++ IDE. But the problem is that the library I used to control the touch screen is only make for arduino IDE. So, I don't know which library to use now. Is there another which permit me to drive my 4D Systems screen? Thank you in advance.

1 Solution
idata
Community Manager
70 Views

Hi Guimficus,

 

 

Unfortunately, there aren't libraries for this display. However, you could try using the Arduino library with Edison. Besides the Eclipse IDE, you can also program the Edison with the Arduino IDE, this means that some Arduino libraries that were used on Arduino UNO projects, can also be used with Edison. In the following thread, another user was able to use a 4D systems display with Edison and the Arduino IDE, you might find it useful: /message/333659# 333659 https://communities.intel.com/message/333659# 333659

 

 

Regards,

 

Diego

View solution in original post

3 Replies
idata
Community Manager
71 Views

Hi Guimficus,

 

 

Unfortunately, there aren't libraries for this display. However, you could try using the Arduino library with Edison. Besides the Eclipse IDE, you can also program the Edison with the Arduino IDE, this means that some Arduino libraries that were used on Arduino UNO projects, can also be used with Edison. In the following thread, another user was able to use a 4D systems display with Edison and the Arduino IDE, you might find it useful: /message/333659# 333659 https://communities.intel.com/message/333659# 333659

 

 

Regards,

 

Diego

View solution in original post

AGUIM2
New Contributor I
70 Views

Hello Diego,

Thank you for your reply. I've already try to use the same library with the edison board in Arduino IDE. It walks very well but as I was saying, I change this IDE to Eclipse C++ to be able to use MRAA and UPM libraries because I also have motor, sensors, bluetooth and wifi modules.... to drive. That's why I want to use this display in this IDE. But I've a question: Do you know the path of the library already install in eclipse C++ IDE? May be I can copy this library and modify some of its files. Please, tell me what you think?

Regards,

Guimficus

idata
Community Manager
70 Views

Hi Guimficus,

 

 

The path where the libraries are located is the following: C:\...\iss-iot-win\devkit-x86\sysroots\i586-poky-linux\usr\include

 

 

I don't think that it'll work just by copying the Arduino library in that path. Probably, the library has been written to be used with the Arduino IDE only. Anyhow, you can try it and see if it works.

 

 

If it doesn't work, another option would be to have an Arduino sketch and a C++ script running at the same time. The first one would manage the display while the second one would manage the sensors and other devices you have. You can share data between environments with txt files, just as it's described in the following document: https://software.intel.com/en-us/blogs/2015/05/05/efficient-data-sharing-using-interrupts-on-intel-e... https://software.intel.com/en-us/blogs/2015/05/05/efficient-data-sharing-using-interrupts-on-intel-e.... This is a workaround that might work in case the other approach of using the display directly from the C++ script doesn't work.

 

 

Regards,

 

Diego
Reply