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/05/10 17:32]
pburgess [Download]
Line 128: Line 128:
 ==== 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 166:
 ==== 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)