Hello and thank you all!
I'm new to LCD displays and I'm attempting to simply get an example code (part of the library) to compile.
I get an error: class 'Adafruit_TFTLCD' has no member named 'setCursor'
And the line in the example code: "tft.setCursor(0, 0);" is highlighted.
At the top:
#include <Adafruit_GFX.h> // Core graphics library
#include <Adafruit_TFTLCD.h> // Hardware-specific library
Edit: Library downloaded from here: https://github.com/adafruit/TFTLCD-Library
I followed this tutorial: http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use
As instructed, I went to my sketchbook, went to the libraries folder, and inserted the unzipped library into it. Here is the directory (My sketchbook is called Arduino Codes):
I redownloaded the entire library twice and I'm sure I have everything.
The header file Adafruit_TFTLCD
The C++ Source Code Adafruit_TFTLCD
Another header file called pin_magic
Examples, bitmatap, and a readme.
I attempted importing the standard LCD library.
The touchscreen library compiles. I'm not sure whats wrong with this one!
I'm at my wits end.
Please and thank you!
Edit: It is actually quite late here. I'm going to sleep. I appreciate all the help and will definately check here first thing tomorrow! (Or later today technically I guess)
Edit Edit: Just to cover all basis, I also did rename the file to 'TFTLCDLibraryMaster.' (Got rid of the dashes)
I also did this with the touch screen Library. Basically, I did exactly the same thing for both libraries and this one is not working.