ai-agent

Adafruit GFX Library

Adafruit GFX graphics core Arduino library, this is the 'core' class that all our other graphics libraries derive from
2,826 stars1,673 forksCUpdated 4/9/2026100% free · open source
What it does

Provides a common graphics API for Arduino‑compatible displays, letting you draw shapes, text and bitmaps with a single set of functions.

When to use it
  • You need to drive an OLED, TFT, or e‑ink screen from an Arduino or ESP32 and want a single code base for all displays.
  • You want to prototype UI elements (menus, gauges, scrolling text) without writing low‑level pixel code.
  • You are integrating multiple display modules and need a consistent drawing API across them.
Ready-to-paste prompt
display.fillRect(10, 20, 50, 30, SSD1306_WHITE); // draw a filled rectangle
display.setCursor(0,55);
display.setTextSize(1);
display.print("Battery: ");
display.print(analogRead(A0) * (5.0/1023.0), 2);
display.println("V");
display.display();
Heads up: The core GFX library alone won’t talk to hardware – you must also install the *specific* display driver library (e.g., Adafruit SSD1306, ILI9341, etc.) and match the constructor parameters (width, height, I²C address or SPI pins) exactly, otherwise the screen stays blank.
Saves to your device
Use with Claude
New

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

🛠️ Technical setup

Expect 20–40 minutes in a terminal — or let your AI agent drive it.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/adafruit-gfx-library && curl -fsSL https://workflowstacks.com/api/skills/adafruit-gfx-library/claude-skill -o ~/.claude/skills/adafruit-gfx-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.

How Adafruit GFX Library works
Codeflow
Free to inspect

Adafruit GFX Library is a large C project (~45k lines across 66 code files). It is a full software project: use it through its install path rather than reading it end to end. Last commit 5 months ago, Other license, no tests found.

Size
Large codebase
~45k lines · 66 code files · ~6 h to skim
Setup
Developer setup
A real software project. Use it via its install path; don't expect to read it all.
Runs on
C
No API keys detected
C 84%C++ 16%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    examples/GFXcanvas/GFXcanvas.ino
    A worked example — copy this to get going
What's in each folder
examples/Examples you can copy4 files
fontconvert/Folder5 files
Fonts/Images & static assets52 files
.github/CI / automation (GitHub Actions)3 files
READMENo tests foundDocumentedCI checksExamples includedOther licenseUpdated 5 mo ago
Quick Actions
Details
Creator
adafruit
Language
C
Category
ai-agent
Published
3/13/2012

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