Optical endoder gives two steps