Skip to content

Seconds are returned incorrectly. #1

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

Closed
JChristensen opened this issue Jan 8, 2017 · 1 comment
Closed

Seconds are returned incorrectly. #1

JChristensen opened this issue Jan 8, 2017 · 1 comment

Comments

@JChristensen
Copy link

Line 271 should be:
second=_bcd2bin(buffer[0] & 0x7F),

@tannewt
Copy link
Member

tannewt commented Jan 9, 2017

Thanks for the bug report! I've fixed the issue by switching to the Register library which is shared between all of the RTC drivers in 2bc9b5f.

@tannewt tannewt closed this as completed Jan 9, 2017
ladyada pushed a commit that referenced this issue May 22, 2022
Updated adafruit_ds1307.py to allow Square Wave settings
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

2 participants