Gavin,
Gosub gettime before settime. Then if year =00 then settime also remove the disableing line "Shiftout IO, SCLK, LSBFIRST, [$8e, 128] "
Gavin,
Gosub gettime before settime. Then if year =00 then settime also remove the disableing line "Shiftout IO, SCLK, LSBFIRST, [$8e, 128] "
Steve Earl www.datageo.co.uk
Yes we did, I was seeing if I could do a "one time" programming instead of 2, the rest is working 100%
Regards,
Gavin
Steve Earl www.datageo.co.uk
Steve gave you the idea. Check the default of the DS1302 and then decide to setup or continue the normal program flow.
Ioannis
Bookmarks