The Pins are still in analog mode.

Add ...
Code:
ANSEL = 0