TR1=1; //啟動計時器1。 while(1) //顯示。; } /* main */ void T0_int(void)interrupt 1 //掃描矩陣LED 函式。{ TH0=(65536-2000)/256; //重設計時器0 初值。
確定! 回上一頁