Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By dgncsk
#68961 i think i solved it. i placed my wundergroudn variables outside of loop. so it reads values only once and post the same values when it is calles by loop.

so it looks like this.



void loop()

tempf = mySensorA.readTempF();
humidity = mySensorA.readFloatHumidity();
baromin = (((mySensorA.readFloatPressure()) / 3386.375258) + 3);

WiFiClient client;