Well, looking at the DT_INTS-16 that Dave was so nice to share, I couldn't see the issue, so I just added a line to clear the flag and it seems to be reacting much better. If I get the time, I may look deeper into DT_INTS and see if I can understand how it works better than the 20% I can make sense of. Until then, this seems to solve my problem.
Code:
'---[IOC - interrupt handler]------------------------------------------
Capture: ' Enter here with Tach Pulse from ECM (IOC)
toggle VSS_led
toggle N_LED
pulsout tachdrv, 50 ' normal 4 cy tach, 500uS
IOCCF = 0
@ INT_RETURN
Now to incorporate it back into the real program and see if I have the issue solved...
Thank you guys for all the help. Would not likely have seen that with out it.
bo
Bookmarks