@Steve ..apologies .. was actually asking Malc-c about valentines day :-)
@ Steve , regarding these lines :
Code:
high rst ' Ready for transfer
Shiftout IO, SCLK, LSBFIRST, [$bf] ' Read all 8 RTC registers in burst mode
Shiftin IO, SCLK, LSBPRE, [rtcsec, rtcmin, rtchr, rtcdate, rtcmonth, rtcday, rtcyear, rtccontrol]
low rst ' Reset RTC
I understand these
LSBFIRST ' MODE 0 - Shift data out lowest bit first. Clock idles low.
LSBPRE ' MODE 0 - Shift data in lowest bit first,Read data before sending clock. Clock idles low.
But what is the [$bf] ?
@Malc-c --to err is human :-)
Kind regards
Dennis
Bookmarks