

The Adafruit Circuit Playground TFT Gizmo is an add-on for the Circuit Playground Express and Bluefruit that adds a vibrant 240x240 pixel 1.54" TFT display with a 24-bit color depth. This display is perfect for adding graphics, color, and touch interface to your Circuit Playground projects. It's ideal for creating portable games, data visualization, or even as a tiny monitor for your microcontroller.








| Pin Number | Description | 
|---|---|
| A1 | TFT Reset | 
| A2 | TFT Data/Command select | 
| A3 | TFT Chip Select | 
| A4 | TFT SPI Clock | 
| A5 | TFT SPI Data Out (MOSI) | 
| A6 | TFT SPI Data In (MISO) - not used | 
| A7 | Capacitive Touch IRQ | 
#include <Adafruit_GFX.h>    // Core graphics library
#include <Adafruit_ST7789.h> // Hardware-specific library for ST7789
// Define the pins for the TFT Gizmo
#define TFT_CS        A3
#define TFT_RST       A1
#define TFT_DC        A2
// Initialize the ST7789 display:
Adafruit_ST7789 tft = Adafruit_ST7789(TFT_CS, TFT_DC, TFT_RST);
void setup() {
  tft.init(240, 240);           // Initialize the display with its resolution
  tft.fillScreen(ST77XX_BLACK); // Clear the screen to black
}
void loop() {
  // Display a simple line of text
  tft.setCursor(0, 0);          // Set the cursor to the top-left corner
  tft.setTextColor(ST77XX_WHITE);// Set the text color to white
  tft.setTextSize(1);            // Set the text size to 1
  tft.println("Hello, World!");  // Print the text to the screen
}
Q: Can I use the TFT Gizmo with other microcontrollers?
A: Yes, as long as the microcontroller supports SPI communication and operates at 3.3V logic levels.
Q: How do I update the firmware on my Circuit Playground board?
A: Firmware updates can be done through the Arduino IDE or the CircuitPython updater tool, depending on which programming language you are using.
Q: Is the touch screen resistive or capacitive?
A: The TFT Gizmo features a capacitive touch overlay, which provides a more responsive touch interface compared to resistive touch screens.