adafruit / Adafruit_CircuitPython_BusDevice

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

Bug in SPI example code #13

Closed dhalbert closed 6 years ago

dhalbert commented 6 years ago

https://github.com/adafruit/Adafruit_CircuitPython_BusDevice/blob/be325b94a3254cc1dc8deccfcab8942b3d915774/adafruit_bus_device/spi_device.py#L49

should be

    spi.readinto(bytes_read)