解放君 發(fā)表于 2016-3-4 15:46
設置定時器1MS 中斷一次 設置一個變量N M 每中斷一次N M自加一次 假設N=60 你復位管腳狀態(tài) m>你設置 ...
Accordion 發(fā)表于 2016-3-4 13:01
void timer0(void) interrupt 1 //using 2
{
static uchar click=0; /*中斷次數(shù)計數(shù)器 ...
歡迎光臨 (http://www.torrancerestoration.com/bbs/) | Powered by Discuz! X3.1 |