Shop
OBEX
P1 Docs
P2 Docs
Learn
Events
MCP23S17 SPIN code? — Parallax Forums
toggle menu
Categories
Discussions
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Sign In
·
Register
×
Home
›
General Discussion
MCP23S17 SPIN code?
MJHanagan
Posts:
189
2015-11-17 23:35
in
General Discussion
Does anyone have any SPIN code for an MCP23S17 (or MCP23017) 16-bit I/O expander they would like to share?
Comments
Publison
Posts:
12,366
2015-11-17 23:47
edited 2015-11-17 23:48
http://obex.parallax.com/search/MCP23017
Put MCP23S17 in the search tab, (upper right). That brings up a few hits.
MJHanagan
Posts:
189
2015-11-18 00:49
Oops, I only searched for 23S17 and neglected to search for 23017. Thank you.
PropGuy2
Posts:
362
2015-11-20 17:25
Here is a code snippet for the MCP23s08. The MCP23s17 is a little different and the MCP2308 is totally different. Hope this helps though.
spin
spin
MCP23S08_diagnostic_11-20-2015.spin
12K
MCP23S08_diagnostic_11-20-2015.spin
12.2K
MJHanagan
Posts:
189
2015-11-21 19:24
Thank you for the code. This should be fairly easy to adapt and enhance for the 16-bit version.
johnproko
Posts:
121
2015-11-30 16:55
Does anyone have a code for C?
Sign In
or
Register
to comment.
Comments
Put MCP23S17 in the search tab, (upper right). That brings up a few hits.