Awesome stuff guys!
Yes, when I got in and tried the thought that I had of just clocking in the set up register stuff first:
nCSA = 0 'Enable MCP23S17-A
Here's a few tips
First off, don't REV anything. That's only going to confuse the issue.
The MCP23S17 expects the bytes to be sent MSB first, that is the first bit clocked out appears at GPx7...
The following snippit displays what I would expect.
myWord var word
myTest var word
Low PORTE.2 ' LCD R/W low = write
Pause 10 ' Wait for LCD to startup
What is the interval and duration of your input pulse on PORTB.0 from the GPS?Tabsoft Yesterday, 20:06
I’ve got to do it this weekend, and don’t get to use REV, so this is what I came up with (untested).
There’s another thread about REV somewhere.. it was decompiled to find out instruction time,
Using two bytes (PBP alias) I don’t think costs you any time even behind the scenes,
and then just addressing them in the order you want would be the next best thing to swapping the hardware.