Skip to content

fixed GPIO read and added automated test sketch #1

Open
wants to merge 28 commits into from

3 participants

@romilly
romilly commented Apr 2, 2012

The previous version read OLAT instead of GPIO.

We've added automated tests which require a simple test harness that uses Arduino digital pins to read from/write to the MCP23008 ports to verify the library code.

We will happily add library code and tests to cover interrupts and pull-up functionality if that would be useful.

@partyboarder

then line 109 must be

gpio = read8(MCP23008_OLAT);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.