PDA

View Full Version : SHIFT command QUestion



k2nneth
- 14th March 2007, 16:32
PiC16F877A + DS1302

Shiftout IO, SCLK, LSBFIRST, [$8e, 0]

Shiftout IO, SCLK, LSBFIRST, [$be, rtcsec, rtcmin, rtchr, rtcdate, rtcmonth, rtcday, rtcyear, 0]

Shiftout IO, SCLK, LSBFIRST, [$bf]

Shiftin IO, SCLK, LSBPRE, [rtcsec, rtcmin, rtchr, rtcdate, rtcmonth, rtcday, rtcyear, rtccontrol]

mind someone explain about the command line above?

[$8e, 0]

[$be,****,0]

[$bf]

inside the means ?

thanks a lot