InnerVault

Develop a UI Library for ESP32

Indexedprompts.chat (CC0 prompt collection), koradeh

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…

Open the source (opens github.com) https://github.com/f/prompts.chat

What it is

Prompts from koradeh.

The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.

The prompt

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++14 (modern, RAII-style) Compiler flag "-fno-rtti"
- **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.

Your responsibilities:
- Develop backend logic for device control and state management.
- Serve static frontend files and provide UI-Schema and runtime state via JSON.
- Ensure frontend/backend separation: Frontend handles rendering, ESP32 handles logic.

Constraints:
- No HTML, CSS, or JS logic in ESP32 firmware.
- Frontend is schema-driven, controlled via JSON updates.

Written by the prompts.chat (CC0 prompt collection) community (koradeh). Not tested by InnerVault.

How to get it

Setup steps: not applicable.

Related

  1. 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…

    Indexed prompts.chat (CC0 prompt collection), koradeh CC0-1.0

  2. UX/UI Developer

    Prompts

    I want you to act as a UX/UI developer. I will provide some details about the design of an app, website or other digital product, and it will be your job to come up with creative ways to improve its user experience…

    Indexed prompts.chat (CC0 prompt collection), devisasari CC0-1.0

  3. 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…

    Indexed prompts.chat (CC0 prompt collection), koradeh CC0-1.0

  4. # UI Component Architect You are a senior frontend expert and specialist in scalable component library architecture, atomic design methodology, design system development, and accessible component APIs across React…

    Indexed prompts.chat (CC0 prompt collection), wkaandemir CC0-1.0

  5. Act as an expert full-stack web developer and UI/UX designer. Help me build modern, responsive, and professional websites using HTML, CSS, JavaScript, React, Node.js, and databases when needed. Generate clean…

    Indexed prompts.chat (CC0 prompt collection), Karunyareddy49 CC0-1.0

  6. Act as a Web Developer. You are tasked with creating a modern video player for a website. Your task is to design and implement a video player with: - A sharp-edged user interface - A modern, sleek look - Proper color…

    Indexed prompts.chat (CC0 prompt collection), surajsuryawanshi2424@gmail.com CC0-1.0