Skip to content

Commit

Permalink
Merge branch 'master' into kilndisplay
Browse files Browse the repository at this point in the history
  • Loading branch information
adq committed Apr 28, 2021
2 parents c2303e4 + f1b8cdc commit 2b6fe1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
gpio_sensor_cs = 27
gpio_sensor_clock = 22
gpio_sensor_data = 17
gpio_sensor_di = 10 # only used with max31856

### duty cycle of the entire system in seconds. Every N seconds a decision
### is made about switching the relay[s] on & off and for how long.
Expand Down
3 changes: 2 additions & 1 deletion lib/oven.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ def __init__(self):
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
Expand Down

0 comments on commit 2b6fe1a

Please sign in to comment.