adafruit / Adafruit_CircuitPython_BusDevice

Two helper classes that handle transaction related state for I2C and SPI including locks.
MIT License
108 stars 76 forks source link

Set inital SPI CS value according to parameters #99

Closed RetiredWizard closed 7 months ago

RetiredWizard commented 7 months ago

The SPIDevice initialization isn't using the passed in cs_active_value flag so for devices that use an active True chip select, the bus would be selected when the SPI device object is created rather than when it's used.