Using MPLAB SIM debugger (version 7.43), how can I enter a value for the ReadUSART function, or at least trigger the interrupt? The function is in a interrupt, see code below: I would like to be able to seen printf output to the UART window that is in main(). void rx_handler (void); unsigned char d; #pragma code rx_interrupt = 0x8 void rx_int (void) { _asm goto rx_handler _endasm } #pragma code #pragma interrupt rx_handler void rx_handler (void) { unsigned char c; extern unsigned char d; /* Get the character received from the USART */ c = ReadUSART(); d = c; /* Clear the interrupt flag */ PIR1bits.RCIF = 0; } -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist