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

quick fix broken imports/calls of pcf8523 #2960

Merged
merged 1 commit into from
Feb 7, 2025
Merged

Conversation

semininja
Copy link
Contributor

Several example files incorrectly import adafruit_pcf8523 and do rtc = adafruit_pcf8523.PCF8523(I2C) when they should from adafruit_pcf8523.pcf8523 import PCF8523 and rtc = PCF8523(I2C). This PR corrects these imports and makes no other changes. I don't own the various bits of hardware necessary to test these examples, but my changes here should have no other impact.

@caternuson
Copy link
Contributor

Thanks. These LGTM in terms of syntax. As an additional reference, these updates are consistent with what was done in this similar PR:
#2722

@dhalbert dhalbert merged commit c1c2897 into adafruit:main Feb 7, 2025
4 checks passed
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