> 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