Replies: 2 comments
-
Check this out, maybe does what you want |
Beta Was this translation helpful? Give feedback.
-
This is a modified version from randomnerdtutorials.com - he as a lot of great tutorials and books: #include <WiFi.h> void setup() { void loop(){ ESP32 Web Server");client.println(" GPIO 4 - State " + output4State + " ");if (output4State=="off") { client.println(" <a href="/4/on"><button class="button">ON ");} else { client.println(" <a href="/4/off"><button class="button button2">OFF ");}
} |
Beta Was this translation helpful? Give feedback.
-
Hi All,
I am looking for an ESP32 code example
That simply displays a Button on screen and when I tap the Button it changes color and I must be able to toggle a GPIO on my ESP32. I have searched the internet and this repository with no luck.
I have a basic example in place that if I tap my screen I get the x, y co-ordinates returned to my Serial port. So my hardware is working.
Kind Regards
Paul
Beta Was this translation helpful? Give feedback.
All reactions