Rotary Encoder Not Working in Wheelconfig

Please explain what that means. What do you expect to happen? What does actually happen?

What is "whellconfig"? Your sketch?

At this moment I have no idea how this is related to your problem.

Please post your sketch; don't forget to use code tags as described in How to get the best out of this forum.