On Sat, Jun 13, 2009 at 7:18 AM, Marcel Birthelmer wrote: > Are you sure your "puts"/UART routines are threadsafe? I would suggest doing > "putc('w'); putc('x'); ..." instead of "puts("wxyz");". > Regards, > - Marcel Ok, it seems to be working now. This is the updated code: void Task1(void *params) { while(1) { _usart_putc('a'); _usart_putc('b'); _usart_putc('c'); _usart_putc('d'); delay1s(); i++; } } void Task2(void *params) { while(1) { _usart_putc('w'); _usart_putc('x'); _usart_putc('y'); _usart_putc('z'); delay1s(); j++; } } Why did the puts()/printf() not work? How would I get it to work? -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist