kopia lustrzana https://github.com/botheredbybees/kilnController
had probs with cheap thermocpl. Changed exception on short to a msg: Thermocouple reports short to ground so that app didn't abend
rodzic
1e06b5f930
commit
e8957f7dec
|
@ -76,7 +76,8 @@ class MAX31855(object):
|
|||
# raise MAX31855Error("No Connection")
|
||||
print("MAX31855Error(No Connection)")
|
||||
elif shortToGround:
|
||||
raise MAX31855Error("Thermocouple short to ground")
|
||||
#raise MAX31855Error("Thermocouple short to ground")
|
||||
print("Thermocouple reports short to ground")
|
||||
elif shortToVCC:
|
||||
raise MAX31855Error("Thermocouple short to VCC")
|
||||
else:
|
||||
|
|
Ładowanie…
Reference in New Issue