標(biāo)題: 51單片機(jī)計(jì)數(shù)器清零 [打印本頁(yè)] 作者: dicksonlizx 時(shí)間: 2017-10-12 10:36 標(biāo)題: 51單片機(jī)計(jì)數(shù)器清零 T0設(shè)為計(jì)數(shù)器,P2.0產(chǎn)生脈沖,計(jì)數(shù)到1000后清零計(jì)數(shù)值并關(guān)掉計(jì)數(shù)器,關(guān)不掉也不能清零,請(qǐng)高手指教//the purpose of the program is to verify the counter of T0 generated by P2.0,
//T0 is counter, T1 decided the serail port rate and T2 is timer