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

Supporting Arduino chips with Multiple SPI busses #2

Open
skipper762 opened this issue Mar 27, 2018 · 1 comment
Open

Supporting Arduino chips with Multiple SPI busses #2

skipper762 opened this issue Mar 27, 2018 · 1 comment

Comments

@skipper762
Copy link

Allowing the passing of a pointer to an SPI bus of the users choosing, so that chips with multiple SPI busses (Teensy, Zero ..) can use the library on the other busses I.E (SPI1, SPI2, mySPI)

@skipper762
Copy link
Author

skipper762 commented Mar 28, 2018

I have forked your repo and updated the library to fix this issue. There is now an extra constructor that has the following form:
MCP3208(uin8_t, SPIClass)

Can be used like:
MCP3208(10,SPI1)

Can be found here:
https://github.com/skipper762/MCP3208

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

1 participant