added config.gpio_sensor_di to the config file and the code for
max-31856. Thanks Mark Tilles.
This commit is contained in:
committed by
Andrew de Quincey
parent
712ad761af
commit
f1b8cdc91c
+2
-1
@@ -107,7 +107,8 @@ class TempSensorReal(TempSensor):
|
||||
from max31856 import MAX31856
|
||||
software_spi = { 'cs': config.gpio_sensor_cs,
|
||||
'clk': config.gpio_sensor_clock,
|
||||
'do': config.gpio_sensor_data }
|
||||
'do': config.gpio_sensor_data,
|
||||
'di': config.gpio_sensor_di }
|
||||
self.thermocouple = MAX31856(tc_type=config.thermocouple_type,
|
||||
software_spi = sofware_spi,
|
||||
units = config.temp_scale
|
||||
|
||||
Reference in New Issue
Block a user