×

SparkFun will be closed on Tuesday, December 24th, and Wednesday, December 25th, in observance of the Christmas holiday. Any orders qualifying for same day shipping placed after 2:00 p.m. (MST) on Monday, December 23rd, will be processed on Thursday, December 26th, when we return to regular business hours. Wishing you a safe and happy holiday from all of us at SparkFun!

Please note - we will not be available for Local Pick up orders from December 24th-December 27th. If you place an order for Local Pick-Up we will have those ready on Monday, December 30th.

ladislas

Member Since: August 9, 2012

Country: France

  • thanks a1ronzo for your reply :) I can see it is used in void quadstep::current_control(int step) as step1 = STEPMIN + (_torque * 260);

    to be honest, I am not sure I really understand current_control. I see that the result step1 is used in the delayMicrosecond to power the motor in motor_go but I don't understand why it is calculated this way. Why 800? If I change this value, say lessen it, it will lessen the delayMicroseconds thus speeding the rotation ? Then why do we have to do _torque * 260? Where does 260 come from?

    Sorry for all those questions, maybe I am missing some basic mechanics rules. :)

  • I was looking at the quadstep.cpp file and I was wondering what is STEPMIN and why is it set to 800 :)

No public wish lists :(