I've reviewed the different PWM examples that include the low power PWM, PWM driver and the PWM library. What I'm looking for is a very simple solution to drive a bipolar stepper motor using two pins that control a stepper motor driver IC. To drive a bipolar stepper motor all I need to do is to send four values {00, 10, 11, 01} on the two pins for one direction and in reverse order for the opposite direction. I want to be able to control the number of steps that the the stepper rotates as well as to have it run for a period of time until I turn it off. I also want to control the speed of the steps. I'm not sure that the PWM is the best way to do this. I've also determined that the low power PWM solution is adequate for my application, if using the PWM function is the best way to implement this, in that I don't need a high frequency for the stepper motor.
Please advise.