This is a library and example code with which one can controll multiple rotary encoders over the MCP23017 I2C GPIO expander. The basic idea is that rotary encoders are either polled or read using ...