313.45 KB, 下載次數(shù): 10
xxpp2011 發(fā)表于 2020-7-1 11:00
while(A>=31)//溫度大于31度
{ delay(50);
while(A ...
xxpp2011 發(fā)表于 2020-7-1 11:00
while(A>=31)//溫度大于31度
{ delay(50);
while(A ...
xxpp2011 發(fā)表于 2020-7-1 11:00
while(A>=31)//溫度大于31度
{ delay(50);
while(A ...
xujiabin 發(fā)表于 2020-7-1 11:27
定時(shí)器里面加一個(gè)計(jì)數(shù)標(biāo)志,等到計(jì)數(shù)到2秒給主循環(huán)一個(gè)標(biāo)志位,再拉低或者拉高引腳,就可以了。溫度防抖是 ...
shijie240 發(fā)表于 2020-7-1 12:30
你這個(gè)是定時(shí)去處理 我想要的是定時(shí)器直接做延遲
| 歡迎光臨 (http://m.raoushi.com/bbs/) | Powered by Discuz! X3.1 |