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

I2C Error with 4.6.0 upgrade #411

Closed
Trebor9691 opened this issue May 25, 2024 · 4 comments
Closed

I2C Error with 4.6.0 upgrade #411

Trebor9691 opened this issue May 25, 2024 · 4 comments

Comments

@Trebor9691
Copy link

Today I upgraded the library to version 4.6.0 and immediately things went wrong as I am currently working on a project that uses the library. As another as stated, my screen is also blank however, to add a little more light to the issue I also noticed the following:

  1. The issue is happening when initializing the screen and does not allow my code to continue.
  2. There is an error output to the Serial Monitor when the problem occurs that states that the I2C pins SDA and SCL are the same.

I have downgraded to 4.5.0 and everything is working again. I hope the additional information is helpful to you.

Sincerely,
~Rob

@marcelstoer
Copy link
Member

marcelstoer commented May 25, 2024

I think I found the issue. In #404 from @ClutchplateDude there's a refactoring missing in the SSD1306Wire constructor at 469f227#diff-fddf375493ceb756b8da0701d1bb96b6e3bdefdb23046c2ef69f9bd1d73bb3ffR78-R86.

I checked the code using grep -r " = _" * and this is the only occurrence.

marcelstoer added a commit that referenced this issue May 25, 2024
@ClutchplateDude
Copy link
Contributor

Thanks for fixing that @marcelstoer , no idea how that got through and didn't trigger build failures on my end....

@marcelstoer
Copy link
Member

Fixed with 4.6.1.

@marcelstoer
Copy link
Member

marcelstoer commented May 25, 2024

@ClutchplateDude No worries, just bad luck that it's a kind of error that doesn't trigger a CI failure either.

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

No branches or pull requests

3 participants