![]() |
發(fā)布時間: 2020-5-5 22:42
正文摘要:#include<reg51.h> unsigned int count=0; unsigned char miao=0; sbit S1=P1^0; sbit S2=P1^1; sbit S3=P1^2; void timer_1()interrupt 3 { TH1=256-250/1; TL1=256-250/1; count++; if(count== ... |
Powered by 單片機(jī)教程網(wǎng)