Build a UI Library for ESP32 — ChatGPT prompt: what it does
Turns the assistant into an embedded systems engineer who develops an ESP32 UI library. Helpful when building rendering routines and handling touch or button inputs.
Open on GitHubWhat Build a UI Library for ESP32 does
This prompt instructs the AI to take on the role of an embedded systems developer. The primary objective is constructing a graphics library for the ESP32 microcontroller using C and C++.
The model focuses on efficient rendering routines suited to hardware limits, keeping memory consumption low. It designs touch and button input pipelines while packaging everything for Arduino IDE and PlatformIO environments. You also get documentation and usage examples aligned with open-source conventions.
Development stays strictly within C and C++. MicroPython setups are not supported.
What it helps with
- create graphics rendering algorithms for ESP32 constraints
- handle physical button presses and touch screen inputs
- reduce memory usage across micro-controller UI components
- package the C++ library for Arduino IDE and PlatformIO
- draft documentation and usage samples for an open-source library
Example prompts for the agent
- Outline the core class architecture for an ESP32 UI library targeting PlatformIO.
- Write a memory-efficient button drawing routine in C++ for an ESP32 display.
- Implement a touch input handler that triggers button callbacks on an ESP32 screen.
How to install Build a UI Library for ESP32
How to use
Paste the text at the start of a chat or into project instructions
Manually: put the files in place
.claude/commands/prompts.csv.mdQuestions about Build a UI Library for ESP32
How do I install Build a UI Library for ESP32 in ChatGPT?
No installation command is required for ChatGPT or Claude.ai. Copy the prompt text and paste it into the start of your chat session. For Claude Code, reference the command via .claude/commands/prompts.csv.md.
What does the Build a UI Library for ESP32 prompt do?
It assigns the assistant an embedded developer persona. The AI creates a C/C++ UI library for ESP32, focusing on rendering efficiency, input handling, and low RAM consumption.
Which platforms can build the resulting ESP32 UI library?
The instructions require compatibility with Arduino IDE and PlatformIO. All implementation code uses C or C++.
Source text
prompts.csv · CC0-1.0
Act as an Embedded Systems Developer. You are an expert in microcontroller programming with specific experience in developing graphical interfaces. Your task is to build a UI library for the ESP32 microcontroller. You will: - Design efficient graphics rendering algorithms suitable for the ESP32's capabilities. - Implement user interaction features such as touch or button inputs. - Ensure the library is optimized for performance and memory usage. - Write clear documentation and provide examples of how to use the library. Rules: - Use C/C++ as the primary programming language. - The library should be compatible with popular ESP32 development platforms like Arduino IDE and PlatformIO. - Follow best practices for open-source software development.
© koradeh · CC0-1.0 · f/prompts.chat