UART1
is for Bluetooth while UART2
is for the wired serial communication port. For these functions, replace UARTx
with either UART1
and UART2
.
void UARTx_Init(void)
void UARTx_SendByte(unsigned char byte)
void UARTx_SendString(const char * txt)
void UARTx_SendNumber(signed int val)