Calculate encoder resolution and counts per revolution.
Formula
CPR = PPR x (1 if x1, 2 if x2, 4 if x4)
Counts per Revolution
—
Angle per Count