|
Scaling
Small question, as I've forgotten how to scale the PWM output for a half speed switch, quarter speed, etc. How would I have to modify the input assigned to the pwm for adjusting the speed?
By that I mean what I would have to add to the pwm01 = p1_y;
Thanks,
-Mike
__________________
You start with a bag full of luck and an empty bag of experience. The trick is to fill the bag of experience before you empty the bag of luck.
|