Quote Originally Posted by HenrikOlsson View Post
If the PIC has a LAT register (which yours do have) then use it instead of the PORT register for things that may suffer from RMW issues.
Code:
    LED5 VAR LATA.5
    LED4 VAR LATA.4
See Henrik, that's the part I left out due to lack of confidence, due to being a sub optimal coder I was thinking it however. Really my FIRST example where I could see that as the issue, thanks for the validation . . . (Backup?) So now I am reasonably sure I was correct. Thanks.