Updated to pulse motor at frequency and sample at freq