> Thanks WH Tan, > > DO you have any idea of how I change the output to UART2? > > Tom That should be easy... Just copy the original source for the function write(), paste it to your project and make the change accordingly. As Phil has pointed out, you should be able to find the source. Best regards, WH Tan -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist