Most likely you forgot to initialize the TRIS registers and the ports are in a high impedance mode. Put this into your code and post your code if it still does not work.
Code:
TRISA = %00000000 ' make all ports outputs
TRISB = %00000000 ' make all ports outputs
I did that myself last week
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