I've been playing around in with a 28x1 and the MCP23008 and MCP23016 chips (in VSM for now), and have been successful getting the I2C bus to read inputs and activate the _INT_ pin when they change... but have been wholly unsuccessful getting the outputs (writes) to work.
Are the outputs on the MCP23016 like a darlington driver IC where it sinks current from the 5V rail, or like an output from a PICAXE where the load is tied between the IC output and the ground rail?
I've tried it both ways, and neither worked - so it is entirely possible I'm missing something in my code too.
Thanks in advance!
Are the outputs on the MCP23016 like a darlington driver IC where it sinks current from the 5V rail, or like an output from a PICAXE where the load is tied between the IC output and the ground rail?
I've tried it both ways, and neither worked - so it is entirely possible I'm missing something in my code too.
Thanks in advance!