Floating ports and noisy power are 2 BIG reasons for PICs to go crazy. Set your tris registers and Ports in your code to a known state and tie unused pins to VSS or VDD through 10k resistors. Put a .01uf and a 10uf capacitor across the power lines as close to the pic as possible to short the noise there, even a ferrite bead in series with the B+ is helpful too.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks