Re: Now , This is a bug ...

Originally Posted by
HenrikOlsson
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.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks