Simulates a high or low side encoder at 0.5-1KHZ frequencies