I am trying to receive some data from an RS232 connection (9600 kbps - sending "s" while(1) ( and tested on hyperterminal ) )
I am using p18F8722 and writing in c the following on the processor:
Open1USART ( USART_TX_INT_OFF & USART_RX_INT_OFF & USART_ASYNCH_MODE &
USART_EIGHT_BIT & USART_CONT_RX & USART_BRGH_HIGH, 51 );
char message =Read1USART();
When I print on the LCD, I receive wrong characters, most of the time "p" "q" x (bar)...
I really appreciate any kind of help.