Closed hockerte closed 1 year ago
Although doing this limits what spi pins can actually be used. There is probably a better way to go about this. Are there SPI how does maxthermo know which SPI pins to use? Is there a way we could change it so that the when the Loom object is made it takes the SPI pins as arguments?
Making this changed allowed for a system I was working on to stop getting null temperatures out of the MAX31856 and to start getting real temperatures. maxthermo is the instance of the adafruit max31856 library and needs 4 spi pins assigned. Right now only the cs pin is assigned as far as I can tell.
I'm not sure which pins get assigned by default.