单片机,用t0方式1定时50ms,t1用方式1门控计数20次,达到1s延迟,点亮一排灯的c语言代码
https://zhidao.baidu.com/question/2076410204756246748.html