Yes that is right, divide and conquer.
It is hardly integration it is just a few serial print statements to see what is going on. It is a standard debugging technique.
So what didn't work? Please describe what happened.
Do you get the encoder to change the numbers you print to the monitor but still not to the display?
Or something else?