예제 #1
0
void UART_putchar(char c) {
	UART_tx(&c, 1);
}
예제 #2
0
void UART_SendByte(u08 Data){
	UART_flush_tx();
	UART_tx((char *)&Data, 1);
}
예제 #3
0
파일: main.c 프로젝트: sevennothing/sensor
//------------------------------------------------------------------------------
// Prints a string over using the Timer_A UART
//------------------------------------------------------------------------------
void UART_print(char *string)
{
    while (*string) {
        UART_tx(*string++);
    }
}