Angle145 發(fā)表于 2018-7-18 00:53
問(wèn)題1: timer1++;//timer1不是周期嗎?卻一直在變.?
問(wèn)題2: if(count>100)//為什么count要大于100才開(kāi) ...
Leo李 發(fā)表于 2018-7-18 14:21
首先,要理解呼吸燈的原理,是通過(guò)控制PWM波形的占空比來(lái)實(shí)現(xiàn)的。
1、timer1不是周期,700才是周期,timer ...
| 歡迎光臨 (http://m.raoushi.com/bbs/) | Powered by Discuz! X3.1 |