Thanks WH Tan, DO you have any idea of how I change the output to UART2? Tom * | __O Thomas C. Sefranek tcs@cmcorp.com |_-\<,_ Amateur Radio Operator: WA1RHP (*)/ (*) Bicycle mobile on 145.41MHz PL74.4 ARRL Instructor, Technical Specialist, VE Contact. http://hamradio.cmcorp.com/inventory/Inventory.html http://www.harvardrepeater.org -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of WH Tan Sent: Wednesday, June 07, 2006 1:49 PM To: Microcontroller discussion list - Public. Subject: RE: [PIC] C30 Problems > Where do I set the destination device (UART1, UART2) for printf? > > I can't even find the source for stdio.h Hi Tom, The stdio library will direct its output to a fuction call write() (forget its prototype, but I believe it's explained in the library manual). If you can find the source (I'm not sure if it included in the C30 package) you'll find that it will output to UART1. 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 -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist