Class-UART/main.c
/**
 * @brief This function sends a string by UART0
 * 
 * @param string    the string to send
 */
@brief This function sends a string by UART0

@param string    the string to send
@brief This function sends a string by UART0 @param string the string to send
void RT_UART0_puts(unsigned char *string)
{
    while (*string)
    {
        if (*string == '\n')
            RT_UART0_putchar('\r');
        RT_UART0_putchar(*string++);
    }
}
void RT_UART0_puts ( unsigned char * string ) { while ( * string ) { if ( * string == ' \n ' ) RT_UART0_putchar ( ' \r ' ) ; RT_UART0_putchar ( * string ++ ) ; } }
@brief This function sends a string by UART0
@brief This function sends a string by UART0