stepper.h bug ? setspeed = 0 ?
http://arduino.cc/en/reference/stepperstep
http://arduino.cc/en/reference/steppersetspeed
hi!
this maybe bug.
i want use potmeter adjust speed of steppermotor.
so analog value (0-255) used parameter of setspeed method.
if analog value on potmeter = 0
then setspeed = 0
and when mystepper.step invoked , arduino in endless loop.
mystepper.setspeed(outputvalue);
mystepper.step(1); // make 2 revolutions
http://arduino.cc/en/reference/steppersetspeed
hi!
this maybe bug.
i want use potmeter adjust speed of steppermotor.
so analog value (0-255) used parameter of setspeed method.
if analog value on potmeter = 0
then setspeed = 0
and when mystepper.step invoked , arduino in endless loop.
mystepper.setspeed(outputvalue);
mystepper.step(1); // make 2 revolutions
Arduino Forum > Development > Other Software Development > stepper.h bug ? setspeed = 0 ?
arduino
Comments
Post a Comment