You should only use HIGH, LOW or TOGGLE on physical PINs.
Using HIGH on any other register will cause it to clear a bit in another register that you didn't specify. PBP thinks it's clearing a TRIS bit, but that's only the case if a PIN is used.
For instance, writing HIGH LCDDATA5.2 will also clear LCDDATA17.2
HIGH LCDDATA8.3 will clear LCDDATA20.3
... and even worse ...
HIGH LCDDATA12.0 will clear T1CON.0, which turns off Timer1 if running.
All kinds of strange things can happen.
LCDDATA12.0 = 1 would work much better.
<br>
Bookmarks