very rough time correction. if your watch is used at a relatively constant temperature and constantly goes ahead 5 seconds a month, just build with -DWITH_MONTHLY_CORR=-5 to compensate these 5 seconds. a period is calculated after which a correction of 1 second is required. not so accurate timer is used, because my STC15W404 has no enough program space to implement something like unixtime for rtc or setting adjustment value.
such a correction cannot be called precise, but it is better than nothing. it's possible to achieve decent accuracy without multiple quartz replacements.
and of course this doesn't work while running on battery/capacitor.
very rough time correction. if your watch is used at a relatively constant temperature and constantly goes ahead 5 seconds a month, just build with -DWITH_MONTHLY_CORR=-5 to compensate these 5 seconds. a period is calculated after which a correction of 1 second is required. not so accurate timer is used, because my STC15W404 has no enough program space to implement something like unixtime for rtc or setting adjustment value.
such a correction cannot be called precise, but it is better than nothing. it's possible to achieve decent accuracy without multiple quartz replacements.
and of course this doesn't work while running on battery/capacitor.
please test.