Skip to content

Conversation

@Mikefly123
Copy link
Member

Based on Nate's comments in #149 over in the circuitpy repo it looks like this library currently throws an error when it tries to initialize. I did some quick sleuthing and it looks like it is because I2CDevice and address were not being passed correctly in the __init__() function. I have fixed that in this PR and it looks like it is working again:

Screenshot 2025-02-07 at 2 13 13 PM

NOTE: It looks like #4 has not been addressed yet and I needed to interrupt before being able to read from the rtc.

@Mikefly123 Mikefly123 requested a review from dbgen1 February 7, 2025 22:14
@Mikefly123 Mikefly123 self-assigned this Feb 7, 2025
@dbgen1
Copy link
Contributor

dbgen1 commented Feb 7, 2025

Beat me to it by 7 minutes! I just found this issue as well. I'll take a look - looks like the tests need to be updated to use the corrected initialization as well

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 7, 2025

Copy link
Contributor

@dbgen1 dbgen1 left a comment

Choose a reason for hiding this comment

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

Looks good to me now! We can merge this and test it on the hardware.

@dbgen1 dbgen1 merged commit 2579146 into main Feb 7, 2025
3 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