Picaxe 18m2, DS1307 (stand alone chip with crystal), communicating to display and DS1307 over 12c.
The seconds, minutes, hours, date, and month all read back properly, however the year only shows the last digit.
If I set the year as $20 I'll get one zero (lsd )read back to the display. What's strange is, if I program the year as 19 or anything under 19
it returns that year and dislay's it perfectly but, as soon as I enter a year 20 or greater I have problems.
All the data is two digits, minutes hours, etc. including the year, so why am I having a problem with only the year? The program to load the data and read the data
to the DS1307 is the same for seconds, minutes, hours, date, month, year.
The seconds, minutes, hours, date, and month all read back properly, however the year only shows the last digit.
If I set the year as $20 I'll get one zero (lsd )read back to the display. What's strange is, if I program the year as 19 or anything under 19
it returns that year and dislay's it perfectly but, as soon as I enter a year 20 or greater I have problems.
All the data is two digits, minutes hours, etc. including the year, so why am I having a problem with only the year? The program to load the data and read the data
to the DS1307 is the same for seconds, minutes, hours, date, month, year.