Skip to content
New issue

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 should allow None for MISO or MOSI pin #21

Closed
dhalbert opened this issue Aug 10, 2018 · 1 comment
Closed

SPI should allow None for MISO or MOSI pin #21

dhalbert opened this issue Aug 10, 2018 · 1 comment

Comments

@dhalbert
Copy link
Contributor

Some devices are output-only or input-only.
Example: https://github.com/adafruit/Adafruit_CircuitPython_TLC59711/blob/master/examples/tlc59711_simpletest.py#L12

Forum user noticed this on RPi: https://forums.adafruit.com/viewtopic.php?f=8&t=139455

@TheKitty
Copy link

If a device is defined as in or out only, then an appropriate error should be thrown if they "forget" and try to do more with the port

ladyada added a commit to ladyada/Adafruit_Blinka that referenced this issue Aug 17, 2018
@ladyada ladyada closed this as completed Aug 17, 2018
kattni added a commit that referenced this issue Aug 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants