troubleshooting

This commit is contained in:
2022-12-12 07:46:24 -05:00
parent e53dc723c4
commit 299d4cf8d1

View File

@@ -39,7 +39,8 @@ def getValues(sensor):
try: try:
temp = sensor.temperature temp = sensor.temperature
humidity = sensor.humidity humidity = sensor.humidity
print("Temp:", temp)
print("Humidity:", humidity)
#convert to Farenheit #convert to Farenheit
temp = (temp * 1.8) + 32 temp = (temp * 1.8) + 32
#Round the decimals #Round the decimals