diff --git a/config.py b/config.py index 14a8cc1..40b1194 100644 --- a/config.py +++ b/config.py @@ -49,9 +49,9 @@ currency_type = "$" # Currency Symbol to show when calculating cost to run j # zero-cross solid-state-relay. try: import board - spi_sclk = board.D11 #spi clock + spi_sclk = board.D22 #spi clock spi_mosi = board.D10 #spi Microcomputer Out Serial In (not connected on MAX315855, needed on MAX315856) - spi_miso = board.D9 #spi Microcomputer In Serial Out + spi_miso = board.D27 #spi Microcomputer In Serial Out spi_cs = board.D6 #spi Chip Select gpio_heat = board.D23 #output that controls relay diff --git a/lib/oven.py b/lib/oven.py index 679fb34..98da50f 100644 --- a/lib/oven.py +++ b/lib/oven.py @@ -129,6 +129,7 @@ class TempSensorReal(TempSensor): except ValueError as ex: if config.max31855: spi = bitbangio.SPI(config.spi_sclk, config.spi_mosi, config.spi_miso) + log.info('Using software SPI.') else: raise ex