Quote Originally Posted by Darrel Taylor View Post
I do not see that problem here.
It doesn't make any difference when the LAT line is commented.
Thats too bad. OK, I will keep struggling with it. The way I am deciding it doesn't work is like this. A) LED5 does not flash anymore, and B)even though you have pointed out I can't single step with TMR2, It does seem to when LAT is not remed. When it is remed, single step makes it appear to stay in the handler. But I have a few more ideas to try. Thanks for looking at it.

Maybe I am not reming correct. I am putting a ' in the beginning of the line. such as this
Code:
'    LATG = LATG ^4
Please tell me that this 5uS doohicky is not running a hobby servo????
Would it be TOO much overkill?? No, The servo is just to check 1 output. The entire card is a 4 axis controller with a control for a brushless spindle motor driven from a hobby ESC. The 5uS int is to make sure no steps are missed from the controlling computer. When all is done, the machine is really a 6 axis machine with 2 of these cards running 3 axis each. All this just to cut foam airplanes!!