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: GitHub - adafruit/TFTLCD-Library: Arduino library for 8-bit TFT LCDs such as ILI9325, ILI9328, etc
I followed this tutorial: Arduino Libraries | All About Arduino Libraries | Adafruit Learning System
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):
Arduino Codes\libraries\TFTLCDLibraryMaster
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.