Newbie trying to use your optimized ILI9341_t3 library....
Maybe the install instructions were not clear to me.
There exists already an
Adafruit_ILI9341 library in my
Arduino/libraries directory. So I moved it aside and, as per install directions, renamed
ILI9341_t3 to
Adafruit_ILI9341 and placed it in
Arduino/libraries.
#include <Adafruit_ILI9341.h> was failing now — of course it cannot find it.
The install directions mentioned making sure
Adafruit_ILI9341 directory contained Adafruit_ILI9341.cpp and Adafruit_ILI9341.
I took that to mean I should copy the original
Adafruit_ILI9341 directory into the newly renamed
Adafruit_ILI9341 (was
ILI9341_t3) directory.
I did this and pulled both the
.cpp and
.h files out of the original Adafruit_ILI9341 (sub)directory so they were at the top level, peers of
ILI9341_t3.cpp and
ILI9341_t3.h.
At this point I ran into a couple issues:
1) the compiler claimed
setFont() was not declared. To this issue I tried
setFontAdafruit() in its place with no luck either.
Commenting
setFont() out entirely and I ran into 2):
Code:
In file included from /Users/calhoun/Documents/Arduino/libraries/Adafruit_ILI9341/ILI9341_t3.cpp:51:0:
/Users/calhoun/Documents/Arduino/libraries/Adafruit_ILI9341/ILI9341_t3.h: In member function 'void ILI9341_t3::waitFifoNotFull()':
/Users/calhoun/Documents/Arduino/libraries/Adafruit_ILI9341/ILI9341_t3.h:458:9: error: 'KINETISK_SPI0' was not declared in this scope
sr = KINETISK_SPI0.SR;
^
Which appears to be what a poster earlier in this thread saw as well.
Since I was on 1.5.3 of Teensyduino, I pulled down Beta 9 of 1.5.4.
And still no love.
Of course, as I say above, I may simply be misunderstanding the install directions for th optimized
ILI9341_t3 library.