This is a class developed for using the LS7266R1 dual-axis quadrature counter IC. Much of the low-level code is borrowed form the IC's datasheet.