Quote Originally Posted by mister_e View Post
as i said, you want to use LATD instead of PORTD. Pulsout also do more than a single PORT/LAT=x. If my memory serves me well it set the TRIS.. then do what it has to do. Hence wasting a few instruction cycle before and after... why the R-M-W behaviour don't happen.. or is reduced to a minimum.
Ok, now it works: instead of portD.7=1 I write:

latd.7=0
latd.7=1

and now portD.7 will stay high even if LCDout is used..
BUT.. why do I have to do it that way? o:-)