Closed tutoduino closed 3 years ago
There is a small bug in the example for DS1307 while getting the hour. Here is the fix: tenHour = (registers[2] & 0x30) >> 4;
I've submitted your fix, added you to the contributors and bumped the patch level. A new Arduino library version should be building now.
Thanks for your contribution.
There is a small bug in the example for DS1307 while getting the hour. Here is the fix: tenHour = (registers[2] & 0x30) >> 4;