1 = INPUT
0 = OUTPUT

take another look at you TRIS.