2018-01-04 09:11 AM
Hi,
I have just started working on a configuration wizard utility in Keil uVision for the setup of stepper motors.
As can be seen, the configuration wizard so far setups the acceleration, deceleration, maximum and minimum speed etc. of the motor just fine.
However, for the distance per step option I would like to use a decimal point number, say 9.4 mm per step. However the configuration wizard is not allowing me to enter decimal point numbers.
Is this a limitation of the configuration wizard or is there a method of entering decimal point numbers?
Any answers are greatly appreciated.
Thanks,
Ernest
#powerstep01 #stm32f1 #configuration-wizard #dspin #stepper-motor2018-01-04 09:17 AM
Might be better asked of Keil, and from a review of the documentation
http://www.keil.com/support/man/docs/uv4/uv4_ut_configwizard.htm
Suggest you use ASCII and then sscanf(), atof() or atod() the number, or use integers and scale.