read problem on MCP23016
verobel
Posts: 81
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
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
SXB
6K