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

How to specify i2c bus on linux? #161

Open
vipaoL opened this issue Feb 11, 2024 · 1 comment
Open

How to specify i2c bus on linux? #161

vipaoL opened this issue Feb 11, 2024 · 1 comment

Comments

@vipaoL
Copy link

vipaoL commented Feb 11, 2024

I'm building with tools/buid_and_run.sh and my i2c bus is /dev/i2c-7. How to choose it instead of the default from, I guess, raspberry pi?

@lexus2k
Copy link
Owner

lexus2k commented Feb 11, 2024

@vipaoL could you please try to use ssd1306_i2cInitEx2() ? The first parameter is what you need.

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