@GoranLundberg I reviewed your PR! Brace yourself, tons of comments :)
hehe, expected that. Like I said. The test remake is basically a proof of concept to see if you'd like it. Its not exactly finished. Needs polishing. The MCP23017 code should be complete though, unless you find some issues.