Home > other >  C51, emergency
C51, emergency

Time:10-05

C51pwm implementation breathing lamp, a lamp keys slowly brighten, button 2 let lights dim slowly, three button switch to another lamp, duplicate keys 1 and 2 can be realized.

CodePudding user response:

The source code,,,,,,,,,

CodePudding user response:

https://blog.csdn.net/xianfajushi/article/details/81331101

CodePudding user response:

Refer to the https://download.csdn.net/download/qq_37037348/11053195

CodePudding user response:

PWM breathing lamp routines should be a lot of change in the use it

CodePudding user response:

 

Void FanBo (/* adjust the duty ratio between 1 ~ 5 */)
{
NanBeiHong=(c>=2? 1-0);
If (+ + c>=6) c=0;
}