This function now works as expected for pullup setting, and it does make sense as MCP23017 code now matches Arduino pinMode operation. The example code below has been updated for Version 2.3.0 Library. If you use code written for the older library version you will need to make changes (a...