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

PIC18 I2C Driver #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

PIC18 I2C Driver #14

wants to merge 2 commits into from

Conversation

JasonBrave
Copy link
Member

No description provided.

@@ -115,7 +115,18 @@ bool i2c_write_reg16(uint8_t address, uint8_t reg, uint16_t val) {
}

bool i2c_read_reg8(uint8_t address, uint8_t reg, uint8_t *value) {
return i2c_read_data(address, reg, value, 1);
bool success = i2c_write(address, &reg, 1);

Choose a reason for hiding this comment

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

Add some comments with a link to the data sheet of a relevent IC explaining what this protocol is and why its needed

@JasonBrave JasonBrave changed the title fix i2c driver compile PIC18 I2C Driver Oct 13, 2024
@JasonBrave JasonBrave added this to the 2025.1 Release milestone Oct 21, 2024
@taisirhassan taisirhassan self-assigned this Nov 19, 2024
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.

3 participants