Re: am I being rude to ask this. . .ASM code request

Originally Posted by
camcompco
Hi Robert (et al)
The real issue is that I am using the counting of encoder feedback vie asm interrupts to track my stepper motors and seem to be unable to (unless i slow the motors down quite a bit) to stop at exactly the right spot where my encoder signals hit 1600 (one full rotation of the stepper motor). I track the steps and find my motor stopping at 1605 or 1606 or. . . .but not at 1600. If I slow the motor down using 1/4 1/8 or 1/16 steps I am spot on, once I get my rpm in the 200 rpm range on single step I seem to be missing steps. this is where I was thin=king that my "if encoder signals >= 1600 then " loop would be better suited for asm, maybe that would remove the lag and allow me to speed up the motor a bit without a.
Hi, CCpCo
I do think a thread about this subject is running at this time on this same forum ...
may be ideas to find there ???
About assembler ... 10+ years of PBP (! ) convinced me the knowledge of assembler is really compulsory ... if you want to create projects somewhat " advanced ", of course ...
note learning the inners of pics and learning assembler ... lead to the quite the same knowledge.
AND you MUST learn pics inners ...
so, impossible to avoid assembler !!!
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks