Update hot.py
This commit is contained in:
parent
657b474506
commit
eec48dd7c8
1 changed files with 0 additions and 1 deletions
|
|
@ -27,7 +27,6 @@ while True: # Loop Forever
|
||||||
voltage = TMP36.value * 3.3 / 65536.0 # Read temp sensor, get voltage
|
voltage = TMP36.value * 3.3 / 65536.0 # Read temp sensor, get voltage
|
||||||
tempC = (voltage - 0.5) * 100.0 # Calculate Celsius
|
tempC = (voltage - 0.5) * 100.0 # Calculate Celsius
|
||||||
tempF = (tempC * 9.0 / 5.0) + 32.0 # Calculate Fahrenheit
|
tempF = (tempC * 9.0 / 5.0) + 32.0 # Calculate Fahrenheit
|
||||||
tempF = (tempC * 9.0 / 5.0) + 32.0 # Calculate Fahrenheit
|
|
||||||
|
|
||||||
heat_value = POT.value / 65536.0 # Value (0.0 to 1.0) to drive pad
|
heat_value = POT.value / 65536.0 # Value (0.0 to 1.0) to drive pad
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue