- Sun Oct 29, 2017 5:00 am
#71337
I'll answer as a newbie in newbish
Simply put: to store html in a sketch you need to store it in a variable or use string literals for bigger chunks and print it. To then serve this code as a page you need a webserver. Under
Examples -> ESP8266WiFi -> WiFiWebServer in the Arduino IDE is a comprehensive example. That one shows you how to server a small html page to switch a GPIO high or low.
For NTP under
Examples -> ESP8266Wifi -> NTPClient is a example for a ntp pull directly via UDP.
Finally
here is the whole thing you probably are aiming for detailed nicely. Instead of a LCD you just serve up a page via webserver.
Under normal circumstances i never let fear and good judgment stand in the way of a hearty laugh. ~AvE