1.8″ TFT Adafruit display(ST7735) and Arduino uno

draft

Install Adafruit ST7735 Lib and the Adafruit_GFX library for Arduino.

I had to upgrade ino to 0.3.6 in order to be able to build the example srcipts:

pip install --upgrade ino

I renamed the example files to .ino (’cause .cpp & pde gave errors)

Make sure you name the directories as in the documentation.


root@tortuguita:/usr/share/arduino/libraries# ls -lh Adafruit_*
Adafruit_GFX:
total 36K
-rw-r--r-- 1 root root  13K Jul  5 23:51 Adafruit_GFX.cpp
-rw-r--r-- 1 root root 2.8K Jul  5 23:51 Adafruit_GFX.h
-rw-r--r-- 1 root root 8.0K Jul  5 23:51 glcdfont.c
-rw-r--r-- 1 root root 1.4K Jul  5 23:51 license.txt
-rw-r--r-- 1 root root  947 Jul  5 23:51 README.txt

Adafruit_ST7735:
total 40K
-rwxr-xr-x  1 root root  22K Nov  8 19:44 Adafruit_ST7735.cpp
-rwxr-xr-x  1 root root 4.7K Nov  8 19:44 Adafruit_ST7735.h
drwxr-xr-x 10 root root 4.0K Nov  8 19:44 examples
-rw-r--r--  1 root root 1.1K Nov  8 19:44 README.txt

Then I built it using inotool.

Leave a Reply

Your email address will not be published. Required fields are marked *