ai-agent

Adafruit ST7735 Library

This is a library for the Adafruit 1.8" SPI display http://www.adafruit.com/products/358 and http://www.adafruit.com/products/618
706 stars324 forksC++Updated 12/4/2025100% free · open source
What it does

Enables Arduino (or compatible) boards to control the Adafruit 1.8" SPI color LCD (ST7735 driver) and draw graphics, text, and images.

When to use it
  • You need a low‑cost, 128×160 pixel color screen on a microcontroller prototype.
  • You want to show status dashboards, sensor readouts, or simple UI on a handheld device.
  • You are building a product that already uses Arduino/ESP32 hardware and needs a built‑in display.
Ready-to-paste prompt
```cpp
#include <Adafruit_GFX.h>
#include <Adafruit_ST7735.h>

#define TFT_CS   10
#define TFT_DC    9
#define TFT_RST   8

Adafruit_ST7735 tft = Adafruit_ST7735(TFT_CS, TFT_DC, TFT_RST);

void setup() {
  tft.initR(INITR_BLACKTAB);      // initialize
  tft.setRotation(1);             // landscape
  tft.fillScreen(ST77XX_BLACK);
  tft.setTextColor(ST77XX_RED);
  tft.setTextSize(3);
  tft.setCursor(10, 30);
  tft.println("READY");
}

void loop() {
  // nothing – static screen
}
```
Heads up: The ST7735 driver has three hardware revisions (BLACKTAB, REDTAB, GREENTAB); using the wrong `initR()` constant will give a garbled or blank screen – double‑check the tab colour on your specific module before initializing.
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/adafruit-st7735-library && curl -fsSL https://workflowstacks.com/api/skills/adafruit-st7735-library/claude-skill -o ~/.claude/skills/adafruit-st7735-library/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

Quick Actions
Details
Creator
adafruit
Language
C++
Category
ai-agent
Published
5/5/2011

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.