mrcodetastic/ESP32-HUB75-MatrixPanel-DMA — reverse-engineered prompt
Reverse engineered prompt
Build me an ESP32 library for HUB75 RGB LED matrix panels that is easy to use in Arduino or ESP IDF projects. I want it to drive common indoor panels like 64x32 and 64x64 with fast smooth refresh using DMA so the chip is not tied up, and it should support chaining multiple panels together. Please make the drawing side feel familiar with an Adafruit GFX style API for pixels, lines, shapes, text, and simple graphics, plus adjustable brightness, good color depth, and natural looking dimming.
It should work on the original ESP32, ESP32 S2, and ESP32 S3, but not the C3 class chips. Include clear wiring guidance, a basic test sketch, a few fun demo examples, and a special example for four scan panels like 32x16. Also add practical notes about memory limits, when S3 PSRAM is usable, unsupported self PWM style panels, and general power gotchas. If you need details, look up current docs online.
Want more depth? Deep Reverse