Speedometer pulse generator