Quote Originally Posted by robertpeach View Post
thanks for the help!

made a difference, although i still had a problem. in the end i tried putting a capacitor (about 470micro ohms) across the input voltage and the ground. this made my pic work real smooth and now all my programs run completely fine over long periods of time!

unfortunately im not an expert on schematics of electronics and it was probably quite obvious to a seasoned programmer... can anyone explain the physical reason behind why this worked? sorry im quite interested in knowing this kind of stuff.
I have found putting a .01 µF capacitor on the lcd power pins helps too