
p = buf_to_send;
while (*p) {
    wait_until_uart_transmit_ready();
    SBUF = *p++;
}
