We will need the following libraries:Īdafruit_GFX for graphics library functions like drawing lines, circles, etc. Download the Librariesīefore we can get started, we will need to download the AdaFruit Libraries. This is exactly the reason why I think buying your hardware at AdaFruit is recommended, for the one or two extra dollars, you’ll get awesome support. The AdaFruit libraries are clearly designed for use with the Arduino developer tools, whereas the SainSmart files are less obvious for that purpose. Since the libraries offered by SainSmart can be confusing for beginners, we will use to the Libraries offered by AdaFruit.
To save you a lot of time developing applications (Sketches) that use the display, both SainSmart and AdaFruit offer very helpful libraries. SainSmart – 1.8″ TFT LCD Color Display for Arduino Arduino Libraries