We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49db26f commit b5d59b3Copy full SHA for b5d59b3
examples/dht_simpletest.py
@@ -8,7 +8,7 @@
8
while True:
9
try:
10
# show the values to the serial port
11
- temperature = dhtDevice.temperature*9/5+32
+ temperature = dhtDevice.temperature * (9 / 5) + 32
12
humidity = dhtDevice.humidity
13
print("Temp: {:.1f} F Humidity: {}% ".format(temperature, humidity))
14
examples/dht_to_led_display.py
@@ -25,7 +25,7 @@
25
26
27
28
29
30
#print("Temp: {:.1f} F Humidity: {}% ".format(temperature, humidity))
31
0 commit comments