@Steve
My code before you replied ...
As you can see I was totally off the mark with the $bf , $be setting !Code:setclk: high rst ' Ready for transfer RTC pin must go high Shiftout ds_data, ds_clk, LSBFIRST, [$bf] ' send burst mode control $bf to read all 8 RTC registers in burst mode Shiftout ds_data, ds_clk, LSBFIRST, [rtcsec, rtcmin, rtchr, rtcdate, rtcmonth, rtcday, rtcyear, rtccontrol] send the data low rst ' Reset RTC reset pin
Ok but I have read in a lot of posts regarding the DS1302 and BCD conversion ..does this still apply ?
Kind regards
Dennis




Bookmarks