cancel
Showing results for 
Search instead for 
Did you mean: 

Keil Configuration Wizard - Doesn't Accept Decimal Point Numbers

Cooke.Ernest
Associate II
Posted on January 04, 2018 at 18:11

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

0690X00000609MoQAI.png0690X00000609MeQAI.png

#powerstep01 #stm32f1 #configuration-wizard #dspin #stepper-motor
1 REPLY 1
Posted on January 04, 2018 at 18:17

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..