Has anyone any code for decoding the pair of quadrature signals from an incremental digital pot on a PIC16C54 Ideally I also want to build and acceleration characteristic into the signal treatment. i.e. If the pot is turned continuously for more than 2 seconds the rate of increment is increased. Tim