R-M-W is "Read-Modify-Write". It's the way PIC chips set an individual pin by reading the entire port, changing the 1 bit for the desired pin, then writing the whole port again. It can cause problems from time to time, but that is not the problem here. If the LCD and SPWM pins were on the same port it could have been. But I hadn't seen any code at the time, so I was guessing.
And to keep from guessing again, could you post the whole program?
I've run LCD's with SPWM before, so I don't think there's a common cause that I could point to. Hoping there's something else going on.
<br>
Bookmarks