文档分类
用单片机实现的交通灯设计
TH0=(65536-50000)/256;
TL0=(65536-50000)%256;
if(++cs==20)
{
cs=0;
--second_counts;
if(second_counts==0)
second_counts=10;
Operation_type=(++Operation_type)%2;
}