Figure 6—Four of the PIC’s digital lines are used to provide x and y voltage gradients. A single analog input is used to determine the contact point by measuring the pick-off voltage in both the x and the y planes.