const char inst1[] = "LPC11xx UART example using ring buffers\r\n"; /* Send initial messages */ Chip_UART_SendRB(LPC_USART, &txring, inst1, sizeof(inst1) - 1); |
char text1[] = "LPC11xx UART example using ring buffers\r\n"; UART_Send(text1); |
void UART_Send(char text[]); |
void UART_Send(char text[]) { Chip_UART_SendRB(LPC_USART, &txring, text, sizeof(text) - 1); } |
char text1[] = "LPC11xx UART example using ring buffers\r\n"; UART_Send(text1, sizeof(text1)); |
void UART_Send(char text[], int length) { Chip_UART_SendRB(LPC_USART, &txring, text, length - 1); } |
void UART_Send(char text[]); |