OPEnSLab-OSU / Loom-V4

Open Source Internet Of Things Rapid Prototyping Framework For Environmental Sensing Applications
5 stars 1 forks source link

Update Loom_MAX31856.cpp #71

Closed hockerte closed 1 year ago

hockerte commented 1 year ago

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.

hockerte commented 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?