dtostrf(9.0 * bme.readTemperature() / 5.0 + 32.0, 3, 0, buffer);
I REALLY do not understand using dtostrf() to convert a float to a string with no decimal points.
Just store the value in an int, and use itoa() if you NEED a string.
dtostrf(9.0 * bme.readTemperature() / 5.0 + 32.0, 3, 0, buffer);
I REALLY do not understand using dtostrf() to convert a float to a string with no decimal points.
Just store the value in an int, and use itoa() if you NEED a string.