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