引用 | 編輯
鮑魚
2012-03-26 20:07 |
樓主
▼ |
||
x0
char UART_Buffer={1,2,3,4,5,6,7,8,9};這是我給的陣列 為什麼他沒有輸出東西 我是用serialport terminal void UART1_Interrupt (void) interrupt 20 { if (RI1 == 1) { if( UART_Buffer_Size == 0) {UART_Input_First = 0; } // If new word is entered RI1 = 0; // Clear interrupt flag Byte = SBUF1; // Read a character from UART if (UART_Buffer_Size < UART_BUFFERSIZE) { UART_Buffer = Byte; // S .. 訪客只能看到部份內容,免費 加入會員 x0
|
引用 | 編輯
iamboss123
2014-01-12 14:11 |
1樓
▲ |
不知道 感覺沒什麽問題
x0 |