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

According to the issue SoftwareSerial: Make the bus more general => SPI / I2C (HW and SW) #16

Open
Beerlesklopfer opened this issue Mar 4, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@Beerlesklopfer
Copy link

There is also a SPI version of that chip. Why not implementing that chip also?

@blemasle
Copy link
Owner

Hi,

Sorry for the delay. While I'd like to see an SPI version of this library, I've never played with SPI myself and I don't have an MCP23S17 at hand to develop those modifications.

If you do, I strongly encourage you to give it a try by modifying the library code. On the top of my head, a base class with high level implementation and two classes for MCP2017 and MCP23S17 communication protocol with both signatures of writeRegister and readRegister might do the trick :)

@blemasle blemasle added the enhancement New feature or request label Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants