I tried using different PICs, but still the problem persists. I tried switching to a different computer, it worked fine for the first couple of times and then again the problem appeared. I tried testing different codes with no luck.

Please Help !!!