Connect the Encoder to the D2 and D3 pins of the motherboard.You can use other pins if you want. 1.git clone this resp to your Arduino IDE'S libraries directory. 2 ...