Quote Originally Posted by Fredrick View Post
I use PBP v2.45 and have not modified anything.
The PIC runs on OSC 20
Edit: Just tryed to put in a 4 Mhz crystal but i does´t work
Apparently, the bug mentioned at the end of post #9 is only applicable to PBP2.50(a).

But still, something wierd going on...

Change your LCD_DATAUS from 600 to 255.
LCD_DATAUS is a byte value (up until PBP2.50 as far as I know), so 600 is actually 88 (600 - 256 - 256 ) as far as PBP knows.

Past that...
Check the pullup on MCLR?
Watchdog timer off?