oh..sorry ..

i compiled code for PAUSE not PUASE ( just writing error )..

Quote Originally Posted by mikendee View Post
The other thing could be if you had Low voltage Programming (LVP) enabled at programming.

Mike
mikendee, i am new with pic16f877a, and i dont know what LVP means !!!, and how can i configure it ?

i programmed portb for output and tryed to put 2 picoF capacitors to the crystal but no result.
should i put a capacitor between Vdd,GND ?? if should what is its value?