Skip to content

Commit eec48dd

Browse files
authored
Update hot.py
1 parent 657b474 commit eec48dd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Make_It_Hot_Cold/hot.py

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ def show_value(heat_val): # Show throttle on NeoPixels on CPX
2727
voltage = TMP36.value * 3.3 / 65536.0 # Read temp sensor, get voltage
2828
tempC = (voltage - 0.5) * 100.0 # Calculate Celsius
2929
tempF = (tempC * 9.0 / 5.0) + 32.0 # Calculate Fahrenheit
30-
tempF = (tempC * 9.0 / 5.0) + 32.0 # Calculate Fahrenheit
3130

3231
heat_value = POT.value / 65536.0 # Value (0.0 to 1.0) to drive pad
3332

0 commit comments

Comments
 (0)