WebbotLib AVR library
WebbotLib It just does it
  C++ documentation  C documentation

getStepsPerRevolution

Returns the number of steps required to rotate the motor through 360°.
Syntax
StepperMotor. getStepsPerRevolution()
Where StepperMotor is the name you have given to the device in Project Designer.
Parameters
None
Returns
uint16_t
Note
This is the fixed value that you entered in Project Designer.

 

 

Valid XHTML 1.0 Transitional