Originally posted by -Elepro-
View Post
I recently wrote a PIC program that essentially does what your doing here... except my winder had an encoder wheel on the main turning motor (because my main turning motor wasn't a stepper).
I'm fairly new to programming PICs, & found that trying to get PICs to do floating point was brainache, so therefore wimped out & did the 'ratio' calculation (no of encoder 'pulses' from the main motor -> steps on the traversal motor) on a spreadsheet & then input these manually into the PIC at the point of useage!
Comment