void uart_putchar(unsigned char k){ while(!(UTRSTAT0&0x04))
; UTXH0 = k;}unsigned char uart_getchar(void){ unsigned char c; while(!(UTRSTAT0&1<<0))
; c = URXH0; return c;}
真是 踏遍铁鞋无觅处, 害我1天在整啊
posted on 2013-08-14 15:17 kwingmei 阅读(122) 评论(0) 编辑 收藏 举报