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

adding simple bit and bits for SPI devices #35

wants to merge 1 commit into
base: master


Copy link

maholli commented Feb 8, 2020

I quickly ported over the I2C bit and bits functionality to SPI devices.

Confirmed working on a handful of SPI devices that expect register interaction with the following format: byte1:starting register address byte2:# of registers minus 1. Note this is different than I2C where you don't need byte2 and can just clock in/out data.

A little high-level reworking of the library could likely integrate I2C and SPI together (if someone was motivated).

Copy link

tannewt left a comment

Thank you for this! I'm a little worried that this will increase the frozen size of the library so that existing boards won't fit anymore. Can one of the @adafruit/circuitpythonlibrarians try building circuitpython on CPX with this new version of the library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.