Skip to content

Conversation

@jamesfowkes
Copy link
Contributor

Adds control of the global output invert bit in MODE2 register. Useful when using the PCA9633 with external drivers.

Copy link
Owner

@HendrikVE HendrikVE left a comment

Choose a reason for hiding this comment

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

After you fixed the name issue please do a proper rebase and squash, there are unrelated changes in the commit history (like changing readReg to public instead of private).

writeReg(REG_MODE2, newReg);
}

void PCA9633::setInvertState(uint8_t invert) {
Copy link
Owner

Choose a reason for hiding this comment

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

Code does not compile because invert needs to be renamed to state.

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