hi guys....
right now the default is 19200...using a 4MHZ osscilator. i need 115200 baud rate for my gsm modem...rumour that i need got to change to a 20Mhz osscilator...but can i change it into 16Mhz?
and what do i've to change in the code as well
penUSART (USART_TX_INT_OFF & // Transmit interrupt ON/OFF
USART_RX_INT_ON & // Receive interrupt ON/OFF
USART_ASYNCH_MODE & // ASYNCH/SYNCH MODE
USART_EIGHT_BIT & // Transmission Width
USART_CONT_RX &
USART_BRGH_HIGH,8);
is the code right for 115200 baud rate...
thanks in advance
Bookmarks