alyons12 wrote: ok so i built the easyiot cloud dht22 sensor and i cant figure out which line of code needs to be change to get the readings in Fahrenheit
current DHT22 library uses only metric system (Celsius). convert this temperature in Fahrenheit and send this value to server. Also change unit of measure °C - > °F.
Here is function:
double Celcius2Fahrenheit(double celsius)
{
return celsius * 9 / 5 + 32;
}