Quote Originally Posted by richard View Post
as has been discussed before when you have a multi-byte variable that's altered in a interrupt routine its true value is indeterminate while the isr is active .
the correct procedure to access the var is to
disable isr
examine var (copy compare or whatever)
enable isr
I'm unfamiliar with this black magic you speak of... tell me more...