Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18599

Support for the Adafruit 2.8" TFT display for Arduino Edison

$
0
0

I am not sure how many others will be interested, but I thought it would be fun to be able to use one of the Adafruit 2.8" TFT displays that uses SPI to communicate.  It also has a touch screen which also communicates using SPI.

 

My first step was to convert the Adafruit_ILI0341 library to build for the Edison and start to debug it.  For awhile I ran into issues that I was not receiving data on the SPI bus.  I found some information about similar issues up on the thread: Unable to get any signals on SPI MOSI, variant.cpp has bugs in data structures I made the changes mentioned in that thread and after debugging some of my own bugs I finally have a version of the library that appears to work OK.  Still not as fast as when I run on some other processors, but I am making some progress on it.

 

I have uploaded the library code to this to a new branch I created in my fork of the library up on github: https://github.com/KurtE/Adafruit_ILI9341/tree/Intel-Edison

 

After I had this working, I did a little work to port the touch screen support library over to work on the Edison as well.  With these changes I was able to get the Adafruit ILI9341 example program touch paint to work.  I uploaded my changes of this to my fork of the Adafruit_STMPE610 library: KurtE/Adafruit_STMPE610 · GitHub

Some of these changes included adding my own shiftIn and shiftOut functions which are standard Arduino functions that do not appear to be implemented.  Found another thread on that.

 

Again no promises here, but I think I am making some progress.

 

Kurt


Viewing all articles
Browse latest Browse all 18599

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>