Thanks, What about the tris register, does this command set port pin to an output. If so, does it then remain in this output state?