MCP23S17 object & demo
Bill Henning
Posts: 6,445
I am uploading a pasm driver that supports up to 8 MCP23S17's on four pins, and a demo program for it.
I remember seeing requests for such an object, so I decided to clean up and post my internal test code.
Enjoy!
(MIT License... so I will also submit it to Obex, once I can manage to log in there again...)
I remember seeing requests for such an object, so I decided to clean up and post my internal test code.
Enjoy!
(MIT License... so I will also submit it to Obex, once I can manage to log in there again...)
Comments
Glad it helps!
FYI, it should also work with the older MCP23S16 and the MCP23S08 and MCP23S09
Note, I leave IOCON=0, so register numbers will be different on the '08 and '09