3 Given a 120step stepper motor with its own controller writ
3. Given a 120-step stepper motor with its own controller, write a C function Rotate(int degrees), which, given the desired rotation amount in degrees (between 0 and 360), pulses a microcontroller’s output port the correct number of times to achieve the desired rotation.
Solution
#include
