Digistump Forums

The Digispark => Digispark Projects => Topic started by: brunosso on January 29, 2016, 09:14:42 am

Title: Use a 1.8'' TFT with Digispark
Post by: brunosso on January 29, 2016, 09:14:42 am
Hello!! i found this thread but i don't understand how to connect the TFT to Digispark!
https://digistump.com/board/index.php?topic=1122.0
someone can help me?
Title: Re: Use a 1.8'' TFT with Digispark
Post by: postuma on February 05, 2016, 01:08:28 pm
I did this for my bike computer - http://digistump.com/board/index.php/topic,1938.0.html - not the identical TFT screen but almost the same, and may use the same pinout.

I used the TFT library that's part of the Arduino IDE. See File > Examples > TFT. Pin definitions I used:

Code: [Select]
#define cs   9                                //pin definitions for TFT screen
#define dc   6
#define rst  7

but you could or even may need to hook it up differently. Check the data sheet/schematics to make sure you make the right connections - MISO to MISO, SCK to SCK, MOSI to MOSI, GND to GND, BL and +5V to 5V VCC, and LCD DS, LCD D/C, and Reset to whichever pins you defined above.

Hope this helps. Good luck