Code for a webserver on the ESP32 to control LEDs (device used for tests: ESP32-WROOM-32D). The code allows user to switch between three LEDs and set the intensity of the LED selected
For installation, the following libraries need to be installed:
- Websockets by Markus Sattler (can be tricky to find -> search for "Arduino Websockets")
- ArduinoJson by Benoit Blanchon
- 27.08.2022: Changed slider listening event from "click" to "change" -> this was needed to make the website work properly on Android phones
Please refer to the following Youtube video: https://youtu.be/ZJnXKD0LqDo
Have fun ;-)
mo thunderz