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 ...
This library gives easy control over the 16 pins of a (I2C) MCP23017 chip. This IC is strongly related to the MCP23S17 SPI port expander - https://github.com ...