diff --git a/mqtt/tempSensor.py b/mqtt/tempSensor.py index 07d0579..4381eda 100644 --- a/mqtt/tempSensor.py +++ b/mqtt/tempSensor.py @@ -30,7 +30,7 @@ while True: humidity = sensor.humidity #convert to Farenheit - #temp = (temp * 1.8) + 32 + temp = (temp * 1.8) + 32 print("Temperature: {}*F Humidity: {}% ".format(temp, humidity)) except RuntimeError as error: print(error.args[0])