Rotary Encoder Library

Hello Paul,

First thanks for this excellent library.

In my project, I'd need to declare an encoder dynamically. I mean, declare the encoder first, and assign pins in a second time after reading a sort of config file.
is there a way to modify your library, creating a kind of "assign" function to dynamically declare the pins number instead of passing the values at declaration?

Thank you,

Michael.