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

Reason for not supporting 10-bit i2c addressing #113

Open
AntonOellerer opened this issue Oct 21, 2022 · 1 comment
Open

Reason for not supporting 10-bit i2c addressing #113

AntonOellerer opened this issue Oct 21, 2022 · 1 comment

Comments

@AntonOellerer
Copy link

Hey,
Just out of interest, what is the reason for not supporting 10-bit addressing in i2c communication?
I looked around for a bit, but did not discover anything specific.
Best regards
Anton Oellerer

@golemparts
Copy link
Owner

Hey Anton. When RPPAL's I2C module was initially developed, 10-bit addressing wasn't supported by the underlying Linux drivers on any of the Raspberry Pi models available at the time. I haven't checked if this has changed recently, but you should be able to call set_addr_10bit, and it'll check if the underlying driver supports this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants