Helpful addtions to the Blinka library.
The SPIBitBanger
class implements SPI using digital IO pins defined via the digitalio
library.
The example.py
script shows how to use the MAX31865 Pt100 controller with the AdaFruit FT232H dongle. The MAX31865 board uses SPI phase 1 and control is thus not available via the busio.SPI
package. However the FT232H can still use it by doing SPI via the generic IO pins.
Connect the following pins between your AdaFruit FT232H dongle and the MAX31865 board.
C0
toCLK
C1
toSDO
C2
toSDI
C3
toCS
Install the adafruit-circuitpython-max31865
library and execute the example Python script.
pip install adafruit-circuitpython-max31865
BLINKA_FT232H=1 python example.py