OK I moved these ports to C0 and C1.
SCLK VAR PORTB.5 'CLOCK
TC VAR PORTC.1 'TO CHIP - WRITE
FC VAR PORTC.0 'FROM CHIP - READ
RST VAR PORTB.4 'RESET
Set all ports to output, except FC, which is set as input.
And I don't get, what's wrong with $100 ?
I'm sending 3 bytes, that's 24 bits.
Bookmarks