
Originally Posted by
cncmachineguy
If the TMR is disabled when entering the INT, then it is not counting. Therefore thr duration of PULSOUT will change the timing.
Move PULSOUT to your main loop. Set a flag in your INT. Then in your main loop, if the flag is set, execute PULSOUT and clear the flag.
Bookmarks