Shop OBEX P1 Docs P2 Docs Learn Events
read problem on MCP23016 — Parallax Forums

read problem on MCP23016

verobelverobel Posts: 81
edited 2009-01-15 00:51 in General Discussion
Fellow Sx'ers;

I have connected an MCP23016 I/o Expander (on a breadboard)·to an SX prototype board. I also wired 4 pushbuttons and one switch for inputs to GP0.0,1,2,3,4. I wired 5 Led's (to mirror the button states) on the other port GP1.0,1,2,3,4.

I have the chip blinking the LED's but can't get the input to work. Can anyone take a peek at the code and see if you can spot any error(s). File EXP4I2.EXB attached.

Thanks, John
Sign In or Register to comment.