Пример #1
0
// print the message to the serial port.
void PrintSerial(const char * message)
{
    while (*message != 0)
    {
        UARTWriteByte(*message);
        message++;
    }
}
Пример #2
0
void fputc_hook(char ch)
{
     while(UARTWriteByte(UART_CH0,(uint8*)&ch, 1) == 0);
}