The libary that I am using sets them all to output when I call begin()
void MCP23018::begin(void)
{
// Set all pins to outputs
Serial.println("started mcp23018");
writePairToRegister(IODIRA,0,0);
}
johnwasser you mean something like this
gnd 5v
| |
| |
| R (220}
led- led+
Vss gpio
That is what I did and they are still all on.
