We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spi.read(-1)
Without any devices connected to the SPI pins:
>>> spi.init() >>> # This read() call never returns >>> spi.read(-1)
The text was updated successfully, but these errors were encountered:
codal_port/microbit_spi: Raise ValueError if spi.read arg is negative.
ef2a57e
Fixes issue #208. Signed-off-by: Damien George <[email protected]>
Fixed by ef2a57e, negative values now raise a ValueError.
ValueError
Sorry, something went wrong.
No branches or pull requests
Without any devices connected to the SPI pins:
The text was updated successfully, but these errors were encountered: