micheledarold/esp_lcd_nv3041a_i80 — reverse-engineered prompt

Reverse engineered prompt

Build me a reusable ESP IDF component for the NewVision NV3041A display controller on an 8 bit Intel 8080 style bus. I want it to plug into Espressif’s normal esp_lcd panel flow so I can create the panel once and then use the usual reset, init, draw bitmap, mirror, swap XY, invert color, and display on off calls without any custom app side API beyond the panel creation function.

Use a default init sequence tuned for the KD043WQFMD134 4.3 inch 480 by 272 panel, but also make it easy to swap in a custom list of init commands for other NV3041A based panels without editing the driver itself. It should support RGB or BGR order, 16 bit or 18 bit color, and either hardware reset or software reset. Please add helper config macros for setting up the i80 bus and panel IO with sensible values for this chip, keep it limited to the 8 bit i80 interface only, and include a small example showing how to wire it into an app or LVGL style flush flow. If needed, check current Espressif docs online.

Want more depth? Deep Reverse