RS485通訊問題
|
||||
---|---|---|---|---|
高級會員
|
help me…
我的程式有兩層中斷 高優先中斷為usart接收,將data放入陣列中 低優先中斷為timer3,做scan key及display 7'segment LED 其中低優先中斷如執行下列指令時 LATB &=0xcf; LAB |=TBL[n]; //TBL[]=0x20 or 0x30 不定時它會變更PORTBbits.RB1為high,(PORTBbits.RB1是75176的R/T pin)也就把我的usart接收給關掉了。想請教可能原因為何?
發表於: 2007/1/12 10:11
|
|||
|