User Tools

Site Tools


tutorials:products:18tftbreakout:index.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
tutorials:products:18tftbreakout:index.html [2012/04/24 18:47]
ladyada
tutorials:products:18tftbreakout:index.html [2012/07/25 17:53]
adafruit_support [Introduction]
Line 7: Line 7:
 This tutorial is for our 1.8" diagonal TFT display & microSD breakout board. This breakout is the best way to add a small, colorful and bright display to any project. Since the display uses 4-wire SPI to communicate and has its own pixel-addressable frame buffer, it can be used with every kind of microcontroller. Even a very small one with low memory and few pins available! This tutorial is for our 1.8" diagonal TFT display & microSD breakout board. This breakout is the best way to add a small, colorful and bright display to any project. Since the display uses 4-wire SPI to communicate and has its own pixel-addressable frame buffer, it can be used with every kind of microcontroller. Even a very small one with low memory and few pins available!
  
 +<class warning>
 +**We also have a shield version of this display that is pre-wired for use with an Arduino. ​ Just solder in the headers and you are ready to go!**
 +</​class>​
  
  
Line 128: Line 131:
 ==== Graphics Library ​ ==== ==== Graphics Library ​ ====
  
- +We've written a full graphics library specifically for this display which will get you up and running quickly. The code is written in C/C++ for Arduino but is easy to port to any microcontroller by rewritting the low level pin access functions.
-We've written a full graphics library specifically for this display which will get you up and running quickly. The code is written in C/C++ for Arduino but is easy to port to any microcontroller by rewritting the low level pin access functions. ​Here are some of the functions we've included in the library+
  
 The TFT LCD library is based off of the Adafruit GFX graphics core library. GFX has many ready to go functions that should help you start out with your project. Its not exhaustive and we'll try to update it if we find a really useful function. Right now it supports pixels, lines, rectangles, circles, round-rects,​ triangles and printing text as well as rotation. The TFT LCD library is based off of the Adafruit GFX graphics core library. GFX has many ready to go functions that should help you start out with your project. Its not exhaustive and we'll try to update it if we find a really useful function. Right now it supports pixels, lines, rectangles, circles, round-rects,​ triangles and printing text as well as rotation.
 +
 +__Two__ libraries need to be downloaded and installed: first is the [[https://​github.com/​adafruit/​Adafruit-ST7735-Library|ST7735 library]] (this contains the low-level code specific to this device), and second is the [[https://​github.com/​adafruit/​Adafruit-GFX-Library|Adafruit GFX Library]] (which handles graphics operations common to many displays we carry). Download both ZIP files, uncompress and rename the folders to '​Adafruit_ST7735'​ and '​Adafruit_GFX'​ respectively,​ place them inside your Arduino libraries folder and restart the Arduino IDE. If this is all unfamiliar, we have a [[http://​www.ladyada.net/​library/​arduino/​libraries.html|tutorial introducing Arduino library concepts and installation]].
  
 [[http://​www.ladyada.net/​images/​18tftbreakout/​st7735squares.jpg|{{ ​ http://​www.ladyada.net/​images/​18tftbreakout/​st7735squares_t.jpg?​nolink&​500x309 ​ |}}]] [[http://​www.ladyada.net/​images/​18tftbreakout/​st7735squares.jpg|{{ ​ http://​www.ladyada.net/​images/​18tftbreakout/​st7735squares_t.jpg?​nolink&​500x309 ​ |}}]]
Line 165: Line 169:
 ==== Download ​ ==== ==== Download ​ ====
  
- +[[https://​github.com/​adafruit/​Adafruit-GFX-Library|Adafruit GFX library]]. ​\\ 
-[[https://​github.com/​adafruit/​Adafruit-ST7735-Library|You can download our Arduino ​library ​with examples from github]]. To install it, rename the downloaded and uncompressed library to **Adafruit_ST7735** and place in the sketchfolder/libraries folder. [[http://​www.ladyada.net/​library/​arduino/​libraries.html|See our detailed tutorial for more info.]] +[[https://github.com/​adafruit/​Adafruit-ST7735-Library|Adafruit ST7735 library]]. \\ 
- +([[http://​www.ladyada.net/​library/​arduino/​libraries.html|See our detailed tutorial for installation assistance.]])
  
 You may also be interested in the [[http://​www.adafruit.com/​datasheets/​JD-T1800.pdf|datasheet for the display]], and [[http://​www.adafruit.com/​datasheets/​ST7735R_V0.2.pdf|display driver chip]] You may also be interested in the [[http://​www.adafruit.com/​datasheets/​JD-T1800.pdf|datasheet for the display]], and [[http://​www.adafruit.com/​datasheets/​ST7735R_V0.2.pdf|display driver chip]]
  
  
/home/ladyada/public_html/wiki/data/pages/tutorials/products/18tftbreakout/index.html.txt · Last modified: 2016/01/28 18:05 (external edit)