It just occurred to me I’d have to comment out anything instant interrupts does with other interrupts
just in case activity on portb.0 changes the time that takes to execute (prior to the timer reload routine being called),
and also add it's instruction time in the value loaded to the timer if portb.0 was the source of the interrupt.
Bookmarks