thelastoutpostworkshop/gpio_viewer ? reverse-engineered prompt
Reverse engineered prompt
Build me an Arduino library for ESP32 boards that lets me see my GPIO pins live in a browser while my sketch is running.
I want to be able to drop it into an existing project, include it near the top, connect the board to Wi Fi, then call one start function at the end of setup and have a web page show the current state of the pins. It should make it easy to troubleshoot digital pins, analog reads, PWM, and ADC values, and it should update fast enough to be useful while I am testing hardware.
Please make it work with current ESP32 Arduino core 3.x, and keep it simple to use from the Arduino IDE. If it helps, use current docs online for the ESP32 web server pieces. Also include a basic example sketch and clear notes for how to open the viewer from the browser or local network address.
Are you gonna build this?
make sure you review the code using arcumet