Docker is now working
This commit is contained in:
@@ -5,8 +5,8 @@ MD1200BAUD = 38400
|
||||
SERIALADAPTER = "/dev/ttyUSB0"
|
||||
GETTEMP = "_temp_rd"
|
||||
SETFANPRCNT = "set_speed"
|
||||
EPYSLEEPY = 300 # 5 minutes
|
||||
#EPYSLEEPY = 150 # 2,5 minutes
|
||||
EPPYSLEEPY = 300 # 5 minutes
|
||||
#EPPYSLEEPY = 150 # 2,5 minutes
|
||||
|
||||
# init
|
||||
MDserial = serial.Serial(
|
||||
@@ -112,11 +112,11 @@ while True:
|
||||
# good
|
||||
if setSpeedrcode == 0:
|
||||
# print("Were mint")
|
||||
time.sleep(EPYSLEEPY)
|
||||
time.sleep(EPPYSLEEPY)
|
||||
# not good
|
||||
elif setSpeedrcode == 1:
|
||||
print("Ambigous temperature readings.\nFalling back to safe values.")
|
||||
time.sleep(EPYSLEEPY)
|
||||
time.sleep(EPPYSLEEPY)
|
||||
# very not good
|
||||
elif setSpeedrcode == -1:
|
||||
print("o nyo")
|
||||
|
||||
Reference in New Issue
Block a user