Shelly skripta
This commit is contained in:
@@ -50,7 +50,7 @@ try:
|
||||
except:
|
||||
print("onewire thermo error:", sys.exc_info()[0])
|
||||
|
||||
# Un-comment the line below to convert the temperature to Fahrenheit.
|
||||
# Un-comment the line below to convert the temperature to Fahrenheiq
|
||||
# temperature = temperature * 9/5.0 + 32
|
||||
|
||||
print 'Temp={0:0.1f}*C'.format(temperature)
|
||||
|
||||
Reference in New Issue
Block a user