5000nS = 5uS, yes? thats 40 instructions instead of 4! so as long as I am checking within 2uS, or 20 instructions, I won't miss it. in fact, maybe I should just check the limits in the main, then have an interupt every 1 or 2 uS to shift the ports. then I know I won't miss any.

Thoughts?