Home > Software engineering >  Consult! How MCU PWM control RGB lights gradient effect?
Consult! How MCU PWM control RGB lights gradient effect?

Time:11-08

How MCU PWM control RGB lights gradient effect?

CodePudding user response:

Control current voltage, adjust the brightness

CodePudding user response:

Should be a duty ratio is higher, the brighter the

The gradient is gradually change the duty ratio

Such as the original 1 seconds, 600 ms have voltage, 400 ms no voltage, become 1 seconds later, 500 ms have voltage, 500 ms no voltage, the lamp will gradually darken
  • Related