gbfans / afterlife-lightkit

This is the code repository for the Afterlife Light Kit, coming soon!
GNU General Public License v3.0
1 stars 0 forks source link

WebServer Demo Updates #9

Closed prodestrian closed 2 years ago

prodestrian commented 2 years ago

Summary

This PR adds additional Webserver demo features, specifically being able to load the HTML page and click "On" and "Off" buttons to toggle the built-in LED state on the ESP8266 (note: Depending on the device model, the built-in LED may be inverted to "On=LOW", ie click "Off" to turn LED on).

2022-06-25_11-42

Description

Arduino IDE Requirements

Install ESPAsyncWebServer

Download and install into Arduino libraries: https://github.com/me-no-dev/ESPAsyncWebServer/archive/master.zip

Install ESPAsyncTCP

Download and install into Arduino libraries: https://github.com/me-no-dev/ESPAsyncTCP/archive/master.zip

Install Arduino ESP8266 LittleFS Filesystem Uploader

Download and install into Arduino Tools: https://github.com/earlephilhower/arduino-esp8266littlefs-plugin (Follow instructions on GitHub README)

ajquick commented 2 years ago

Everything worked for me. Feel free to update with your latest test code though.