contiki/lib/uart1.c

7 lines
135 B
C
Raw Normal View History

#include <uart1.h>
void uart1_putc(char c) {
while(*UT1CON == 31); /* wait for there to be room in the buffer */
*UART1_DATA = c;
}