Do you have PortB set as output? You need TrisB.3 = 0 in your code.