Howto add Webserver to DHT Thingspeak sketch
Posted: Sat Oct 01, 2016 9:11 pm
I'm successfully sending my bedroom temp and humidity using this DHT and Thingspeak sketch located here https://eryk.io/2016/04/temperature-logging-to-thingspeak-using-esp8266-and-dht22/ however I'd like to my sketch a little further now an enable the webserver function aswell so the the esp8266 can 1) initially display temp and humidity, then move onto hosting the google gauges that I created from thinkspeak plugin page.
I've new to C# programming so I found sketch simple sketch that does what I wanted http://www.elec-cafe.com/esp8266-temperature-humidity-webserver-with-a-dht11-sensor/
However when trying to compile I get
ESP8266WebServer server(80);
conflicting declaration 'ESP8266WebServer server(80);'
Is this because the server(80) is already being used to post the information to thinkspeak ?
I've new to C# programming so I found sketch simple sketch that does what I wanted http://www.elec-cafe.com/esp8266-temperature-humidity-webserver-with-a-dht11-sensor/
However when trying to compile I get
ESP8266WebServer server(80);
conflicting declaration 'ESP8266WebServer server(80);'
Is this because the server(80) is already being used to post the information to thinkspeak ?