The file TRISA and TRISB are mapped in page 1, you have to go to page 1 via the STATUS register using RP0 and then load the TRIS registers. Then go back to page 0 and send the port data to either PORTA or PORTBI've seen things you people wouldn't believe. Attack ships on fire off the sholder of Orion. I watched C-beams glitter in the darkness at Tan Hauser Gate. All those moments will be lost in time, like tears in rain. Time to die. Remember now, watch out for the Fairies......!