DeterministicESPAsyncWebServer v6.28.0
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
gpio_map.h File Reference

Browser GPIO pin-mapper / diagnostics (DETWS_ENABLE_GPIO_MAP). More...

#include "ServerConfig.h"
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Detailed Description

Browser GPIO pin-mapper / diagnostics (DETWS_ENABLE_GPIO_MAP).

Exposes a compile-time table of GPIO pins (number, label, configured direction, live level) as JSON so a browser diag panel can show the pin map and toggle outputs. The live read (digitalRead) and write (pinMode / digitalWrite) use the Arduino API on ESP32; the JSON serializer and the control-POST parser are pure and host-tested. No allocation: the pin table is caller-owned and the JSON is written into a caller buffer.

Author
Douglas Quigg (dstroy0)
Date
2026

Definition in file gpio_map.h.