Closed microbit-carlos closed 1 month ago
Without any devices connected to the SPI pins:
>>> spi.init() >>> # This read() call never returns >>> spi.read(-1)
Fixed by ef2a57ea101647bb4b72c51aca2a0b4e6157c36d, negative values now raise a ValueError.
ValueError
Without any devices connected to the SPI pins: