Encoders on MCP23017

Hi @beckdac!

As you can see, some people has gone this way:

The problem here is that @Imager implemented in pure python and made a bunch of modifications in the Zynthian UI main file to integrate his MPC23017 library. It’s a good work, but it’s not compatible with other layouts. Currently it’s not maintained and AFAIK, it’s a"dead fork".

Anyway, i love the idea and i would like to implement it inside the zyncoder library, extending the wiringPi library if needed, for initializating the MCP230XX IRQ lines.

Of course, if you want to work on it, you are very welcome and i would help you as much as i can. really!!
I don’t want another “dead fork” here, so we should work together for getting the best solution for Zynthian and of course, it should be backwards compatible with old-style layouts…

Kind regards!