Usually you don't need to set TRIS for those built-in command like SERIN/SEROUT/LCDOUT and of course for I2CREAD/I2CWRITE.
For the last, TRIS will change depending if you read ar write from an external I2C device.
What about your whole stuff??? schematic, Parts, Code???
Bookmarks