From 048db827e866f637a008e068b6bda0fc60bc57cc Mon Sep 17 00:00:00 2001 From: jbruce Date: Mon, 31 Oct 2022 09:21:06 -0900 Subject: [PATCH] change config and requirements for blinka testing --- config.py | 6 +++--- requirements.txt | 11 ++++++++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/config.py b/config.py index 1b90f34..25ced07 100644 --- a/config.py +++ b/config.py @@ -8,6 +8,9 @@ try: except NotImplementedError: print("not running on Raspberry PI, assuming simulation") +# FIX how to choose a thermocouple control board +# FIX how to choose a microcontrol board (like rpi) + ######################################################################## # # General options @@ -60,9 +63,6 @@ spi_miso = board.D9 #spi Microcomputer In Serial Out spi_cs = board.D5 #spi Chip Select gpio_heat = board.D23 #output that controls relay -### Outputs -#gpio_heat = 23 # Switches zero-cross solid-state-relay - ### Thermocouple Adapter selection: # max31855 - bitbang SPI interface # max31856 - bitbang SPI interface. must specify thermocouple_type. diff --git a/requirements.txt b/requirements.txt index cbe34f2..fbf159f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,12 @@ greenlet bottle gevent gevent-websocket -RPi.GPIO -Adafruit-MAX31855 -Adafruit-GPIO websocket-client + + +#RPi.GPIO +#Adafruit-MAX31855 +#Adafruit-GPIO + +adafruit-circuitpython-max31856 +adafruit-circuitpython-max31855