夜鷲 發(fā)表于 2020-7-2 15:57
求問 怎么讓串口只接受一個固定的數(shù)值 比如說只接受1的時候才做出響應(yīng)
wulin 發(fā)表于 2020-7-3 06:32
你的串口中斷函數(shù)寫錯了。
void Usart() interrupt 4 //串口響應(yīng)中斷
{
陳潤源home 發(fā)表于 2020-7-3 08:23
串口中斷也可以這樣寫
void Usart() interrupt 4 //串口響應(yīng)中斷
{
| 歡迎光臨 (http://www.raoushi.com/bbs/) | Powered by Discuz! X3.1 |