kopia lustrzana https://github.com/jbruce12000/kiln-controller
fix bug missing self for a few vars. nice find chip!
rodzic
dba6cde65d
commit
90d10eb125
|
@ -290,7 +290,7 @@ class Max31856(TempSensorReal):
|
|||
log.info("thermocouple MAX31856")
|
||||
import adafruit_max31856
|
||||
adafruit_max31856.ThermocoupleType(config.thermocouple_type)
|
||||
self.thermocouple = adafruit_max31856.MAX31856(spi, cs)
|
||||
self.thermocouple = adafruit_max31856.MAX31856(self.spi,self.cs)
|
||||
if (config.ac_freq_50hz == True):
|
||||
self.thermocouple.noise_rejection(50)
|
||||
else:
|
||||
|
|
Ładowanie…
Reference in New Issue