starterfor10
Newbie level 4
Hello,
I am fairly new to programming and attempting to make a clock using an rtc ds1307 with the pic16f88 for school. ( coding in c using hitech compiler)
I have got the i2c protocol working and can read from the ds1307 but the seconds register not only counts in irregular increments but also goes above 60.
the irregular increments are as follows:
1 - 9 fine
16 - 25 fine
32-41 fine
48 - 57 fine
64 - 72 fine
80-89 fine
Any suggestions would be greatly appreciated - thanks
I am fairly new to programming and attempting to make a clock using an rtc ds1307 with the pic16f88 for school. ( coding in c using hitech compiler)
I have got the i2c protocol working and can read from the ds1307 but the seconds register not only counts in irregular increments but also goes above 60.
the irregular increments are as follows:
1 - 9 fine
16 - 25 fine
32-41 fine
48 - 57 fine
64 - 72 fine
80-89 fine
Any suggestions would be greatly appreciated - thanks