Re: 4 Wire SPI with Shiftin/Shiftout ?
not to mention. a 32bit address attempt ?
Reader: 'Font reading outline
LOW RST ' Ready for transfer
Shiftout TC, SCLK, 5, [$03,
$100,$00,$0] ' Send write command, set start offset
For I=0 to 255 'read 8 bytes of data
Shiftin FC, SCLK, 5, [x]
LCDOUT $fE, $C0, DEC I,32, DEC X
Pause 200
next
5.75 SHIFTOUT
SHIFTOUT DataPin, ClockPin, Mode, [Var{\Bits}...]
Synchronously shift out Var on ClockPin and DataPin. ClockPin and DataPin may be a constant, 0-15, or a variable that contains a number 0-15 (e.g. B0) or a pin name (e.g. PORTA.0).
SHIFTOUT is a software-based command and does not require that the target device have synchronous serial capability. The ClockPin and DataPin parameters may be set to any digital I/O pins, and may be different in different commands within the same program.
\
Bits optionally specifies the number of bits to be shifted out. If it is not specified, 8 bits are shifted out, independent of the variable type. The Bits shifted out are always the low order bits, regardless of the Mode used, LSB or MSB. Up to 32 Bits can be shifted out of a single (long) variable. If more than 32 Bits are required, multiple variables or constants may be included between the square brackets.
Warning I'm not a teacher
Bookmarks