trying to experiment with Wemos D1 and LM35. Need to have temperature reading on the ESP IP. Found the following project to be exactly matching my requirements but I am having certain errors in it. Since, I am not that expert with C programming, hence I am unable to resolve the issues and the website admins are also not replying. If you can please help get this program work or point me to some other source. (There are a lot which involve thingspeak.com but I do not want that. A simple WiFi connection to ESP through mobile and get the data on the esp server IP page which is 192.168.4.1 in Wemos.)
Here is the link, http://blog.circuits4you.com/2016/03/web-server-data-logger.html
First error I get is "temp is not declared". If I declare temp as int then the compiler gives error on spnprintf statement saying "Invalid conversion from int to char*". Tried to read snprintf reference but could not understand the error. Perhaps there will be more errors after this line too. Kindly help.