WebServer showing dynamic values in HTML
Posted: Wed May 27, 2015 1:32 pm
Hi! I'm sorry if has been discussed already, but I need some example of sketch about showing dynamic data in HTML code. I want to print values of different sensors or serial readings from an Arduino or ATtiny85 with software serial sketch, on a HTML webpage hosted by ESP8266 ESP-01. I've found something here https://learn.adafruit.com/esp8266-temperature-slash-humidity-webserver/code, tested but on browser it shows only
Code: Select all
where /temp and /humidity should be numerical values from the sensor... Can anyone provide some sort of example? I've seen that ESP8266 doesn't support "sprintf" syntax like Arduino Uno, so there is a problem... Please help! Thanks!Hello from the weather esp8266, read from /temp or /humidity