Skip to content

Add LED letter drawing tutorial#634

Open
2bf wants to merge 1 commit into
tscircuit:mainfrom
2bf:codex/docs-led-letter
Open

Add LED letter drawing tutorial#634
2bf wants to merge 1 commit into
tscircuit:mainfrom
2bf:codex/docs-led-letter

Conversation

@2bf
Copy link
Copy Markdown

@2bf 2bf commented May 20, 2026

Summary

  • Add a tutorial for drawing capital A-Z letters with a reusable LedLetter component.
  • Include a complete CircuitPreview snippet with a 5x7 bitmap font, automatic PCB/schematic positioning, one 0603 LED per lit pixel, and one current-limiting resistor per LED.
  • Show how to change letters and tune spacing/footprints.

/claim #50

Archived bounty issue: tscircuit/docs-old#50

Validation

  • bun run format:check
  • bun run typecheck
  • git diff --check
  • bun run docusaurus build
  • Rendered the CircuitPreview snippet through svg.tscircuit.com as PCB SVG: HTTP 200, 173738 bytes.

Note: npx tscircuit /tmp/led-letter-snippet.tsx snippet compile still fails before reading this snippet because the CLI dependency currently throws Export named 'ms' not found in module .../circuit-json/dist/index.mjs; the remote SVG renderer successfully rendered the same snippet.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment May 20, 2026 6:00pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant