프롬프트 도감 › No.1880
ESP32 화면 라이브러리 개발
ESP32 UI Library
작은 전자 부품 ESP32용 화면(UI) 라이브러리를 만들도록 AI에게 요구사항을 자세히 알려 줘요. 사용할 도구와 규칙이 정해져 있어 결과가 일정해요.
이럴 때 전자 공작 프로젝트, 사물인터넷 제어 화면, 개발 공부
도구 ChatGPT · Claude · Gemini
프롬프트
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.
팁
- 쓰는 개발 도구 버전을 먼저 확인해 맞춰요
- 한 번에 다 요청하지 말고 기능별로 나눠요
출처
권리: CC0 (f/prompts.chat). 자유 사용. 기여자: koradeh.