demo/UART.c
/* Print a character to UART. */
Print a character to UART.
Print a character to UART .
int _write(int fd, char *buf, size_t count){
	size_t CharCnt;
	(void)fd; 
	for (CharCnt = 0; CharCnt < count; CharCnt++) {
		char ch = buf[CharCnt];
		if((ch == LF) || (ch == CR) || (ch == ESC))
			UART_OutChar(CR);
		UART_OutChar(ch);
	}
	return CharCnt;
}
int _write ( int fd , char * buf , size_t count ) { size_t CharCnt ; ( void ) fd ; for ( CharCnt = 0 ; CharCnt < count ; CharCnt ++ ) { char ch = buf [ CharCnt ] ; if ( ( ch == LF ) || ( ch == CR ) || ( ch == ESC ) ) UART_OutChar ( CR ) ; UART_OutChar ( ch ) ; } return CharCnt ; }
Print a character to UART.
Print a character to UART .
/* avoid warning */