1.8" TFT LCD Shield pin usage

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
wa5znu
 
Posts: 5
Joined: Wed Feb 22, 2012 2:48 pm

1.8" TFT LCD Shield pin usage

Post by wa5znu »

The Adafruit_ST7735 library examples must be modified for the http://www.adafruit.com/products/802 1.8" TFT LCD Shield because the pin usage is different from the existing tutorial for the 1.8" breakout board.

The library example code and the breakout tutorial use pin 8 as reset and pin 9 as DC.

The Shield board is silk-screened with "DC" on pin 8, and reset appears not to be used.

For example, modify graphics_highspeedtest as follows:

Code: Select all

// #define dc   9
// #define rst  8  // you can also connect this to the Arduino reset
#define dc 8
#define rst 0   // reset not used
and modify spitftbitmap as follows:

Code: Select all

// #define TFT_DC   9  // Data/command line for TFT
// #define TFT_RST  8  // Reset line for TFT (or connect to +5V)
#define TFT_DC   8  // Data/command line for TFT
#define TFT_RST  0  // Reset line for TFT not used

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”