shahidali55

Any capacitor close to your PIC and close to your 7 Segment display?

Where are the current limiting resistor for the display.

3.6-5.5V is that right?

How about your configuration fuse?

How the final 'gizmo' looks?

Sure there's something that pickup noise. Is the software take care of this poor unconnected PIN 4?

malc-c

I think you misread something or... could be me too