Multiple channels

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)

This function is required to properly configure the data pins. Using the other functions without calling this first will generate undefined behavior.

void UARTx_SendByte(unsigned char byte)

void UARTx_SendString(const char * txt)

void UARTx_SendNumber(signed int val)

-- SalomonTrujillo - 31 Mar 2010

This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback