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

feat: implement MCP23017 I/O Expander driver #18

Merged
merged 8 commits into from
Nov 21, 2023
Merged

Conversation

Kalsifer-742
Copy link
Member

Implements the driver for the MCP23017 device.
The code is missing comments and documentation.
The code compiles but it has not been tested yet.

BREAKING CHANGE: None

Implements the driver for the MCP23017 device.
The code is missing comments and documentation.
The code compiles but it has not been tested yet.

BREAKING CHANGE: None
Copy link
Member

@gmazzucchi gmazzucchi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, just very verbose. The less and simpler you write the better. Please try to shorten the code and make it simpler (less typedef, ...). The .h is good, I like it, please review the .c, 600 lines of code are really too much for that job. Need to change a couple of things for the style and then proceed to the testing phase.

mcp23017_driver/README.md Show resolved Hide resolved
mcp23017_driver/mcp23017.h Outdated Show resolved Hide resolved
mcp23017_driver/mcp23017.h Outdated Show resolved Hide resolved
mcp23017_driver/mcp23017.c Outdated Show resolved Hide resolved
mcp23017_driver/mcp23017.c Outdated Show resolved Hide resolved
mcp23017_driver/mcp23017.h Show resolved Hide resolved
mcp23017_driver/mcp23017.c Show resolved Hide resolved
Copy link
Member

@gmazzucchi gmazzucchi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me. Proceed with testing

@gmazzucchi gmazzucchi merged commit 9c8fd91 into master Nov 21, 2023
8 checks passed
@gmazzucchi gmazzucchi deleted the mcp23017-driver branch November 21, 2023 16:02
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

Successfully merging this pull request may close these issues.

2 participants