885 B

02_led-button-web

This example is largely adapted from those in ESP32-basic-starter-kit.pdf.

The APIs in the original examples paired with this PDF have changed, and I decided to do some different things with the code and/or circuits, but the original code can be found here.

schematic

This example uses the same schematic as 01_led-button.

The only difference is that you can also control the button through a web browser from any device connected to your local network.

This example was adapted from the example code in the Arduino ESP32 API reference.

screenshot