2011-07-07, 22:17:26
That looks as far as I can see. According to table 10-8 in the data sheet you should set tris bit to 1 for both tx and rx, I have never needed to do this before but it might be worth a try. If it still doesn't work I suggest you keep tris bits set to 1 if you try other things.