Microchip MCP23X GPIO expander
Hi, does anyone have any code or suggestions to look for code for this IO expander.· I have found code for the 8 bit shift register that Parallax sells, but I have one of these chips and am not good enough to interprete what I need from the spec sheet.
I want to have up to 16 outputs from a serial input from a stamp. I want to use as few pins as possible.
Thanks
I want to have up to 16 outputs from a serial input from a stamp. I want to use as few pins as possible.
Thanks
Comments
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Need a TV Module?
Newzed@aol.com
·
·
·· 16 outputs can be gotten easier using the 74HC595 Shift Register using only 3 I/O lines.· The MCP23X will require more code to do the same work.· Of course this is assuming you’re just trying to make certain pins HIGH/LOW.· I hope this helps.· Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Thanks
JG
JG
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Need a TV Module?
Newzed@aol.com
JG