A quick search turned this up: Stepper motor calibration calculator
There are several ways to accomplish this. But, you are headed in the right direction.
A quick search turned this up: Stepper motor calibration calculator
There are several ways to accomplish this. But, you are headed in the right direction.