This 320x240 color TFT display is recommended for use with Teensy 3.1, for high resolution color graphics. It can be used with the Adafruit_ILI9341 library or Optimized ILI9341 library.
Note: Teensy 3.1 and purple test board are not included!
Connections:
ILI9341 Pin | Teensy 3.1 Standard | Teensy 3.1 Audio Board | Notes |
VCC | VIN | VIN | Power: 3.6 to 5.5 Volts |
GND | GND | GND | |
CS | 10 | 21 | Alternate Pins: 9, 15, 20, 21 |
RESET | +3.3V | +3.3V | |
D/C | 9 | 20 | Alternate Pins: 10, 15, 20, 21 |
SDI (MOSI) | 11 (DOUT) | 7 | |
SCK | 13 (SCK) | 14 | |
LED | VIN | VIN | Use 100 Ohm resistor |
SDO (MISO) | 12 (DIN) | 12 | |
Usage With Audio Board Connections
To use the ILI9341 display with the Audio Board, connect the signals using the alternate pins shown above. In setup() before calling TFT.begin(), use SPI.setMOSI(7) and SPI.setSCK(14) to configure the SPI library for these alternate pins.
#define TFT_DC 20
#define TFT_CS 21
ILI9341_t3 tft = ILI9341_t3(TFT_CS, TFT_DC);
void setup() {
SPI.setMOSI(7);
SPI.setSCK(14);
tft.begin();
Documents:
|