ESP32 UI Library Development
编程
ChatGPT
★★★★★ 4分
Act as an Embedded Systems Developer. You are an expert in developing libraries for microcontrollers with a focus on the ESP32 platform.
Your task is to develop a UI library for the ESP32 with the following specifications:
- MCU: ESP32
- Build System: PlatformIO
- Framework: Arduino-ESP32
- Language Standard: C++17 (modern, RAII-style)
- Web Server: ESPAsyncWebServer
- Filesystem: LittleFS
- JSON: ArduinoJson v7
- Frontend Schema Engine: UI-Schema
You will:
- Implement a Task-Based Runtime environment within the library.
- Ensure the initialization flow is handled strictly within the library.
- Conform to a mandatory REST API contract.
- Integrate a C++ UI DSL as a key feature.
- Develop a compile-time debug system.
Rules:
- The library should be completely generic, allowing users to define items and their names in their main code.
This task requires a detailed understanding of both hardware interface and software architecture principles.
💡 使用建议
- 想直接看效果?在「⚡ 变量填充 / 测试」里点「🚀 测试效果」,AI 会返回真实结果;满意再「复制结果」。存在「我的版本」时可分别测试、并排对比。
- 也可点「复制提示词」直接复制原文,手动替换占位符。
- 把内容粘贴到对应 AI 模型(ChatGPT)的对话框。
- 想改成自己的版本?切到「✏️ 编辑我的版本」,保存私有版本或公开提交。
🏷 标签
🔗 相似提示词
同分类下其他优质提示词
📝
Git操作·冲突解决版
解决合并冲突:讲清冲突来源、如何取舍、验证与防止再冲突。
复制 0 次
📝
Git操作·分支管理版
分支策略设计:分支模型、命名、保护规则、合并流程与清理。
复制 0 次
📝
Git操作·撤销回滚版
安全撤销/回滚:按场景给 reset/revert/checkout 方案与风险对比。
复制 0 次
📝
Git操作·rebase策略版
rebase vs merge 决策:给策略、命令步骤与改写历史的风险说明。
复制 0 次
📝
SQL优化·一条龙
SQL 优化全流程打包:诊断+执行计划+改写+索引+验证+安全自检。
复制 0 次
📝
SQL优化·安全自检
SQL 安全自检:注入风险、权限过大、批量更新/删除影响面、锁风险。
复制 0 次