I am trying to learn how to use a Rotary Encoder together with an LCD display where I can use the encoder to choose Letters that will be printed in the LCD.

This is the kind of result I should be getting, but instead I am getting this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
c d e f 0 1 2 3 4 5 6 7 8 9 a b
10 00 10 00 11 01 11 01 10 00 10 00 11 01 11 01
A: 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
B: 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
Shouldn't I be getting a sort of
001100110
100110011
pattern to be able to tell which way it is rotated?
How can I fix this?
I am using the following connections:

Ato change ... that tells you that the encoder moved ... the state ofBat the time of the change tells you the direction of rotation ... to make it simple, look for only the rising edge of signalA– jsotola Sep 06 '19 at 13:52