Home > other >  help
help

Time:09-18

21 microcontroller, do not to come out, good pain,
. Please use two separate button and an LED to complete the following: LED is opened to the medium intensity, has been
Hold down the button 1, LED lights brighten gradually, and hold button 2, LED will gradually weaken,
(note: control brightness can't make the LED out, buttons cannot use external interrupt function

CodePudding user response:

A PWM fix

CodePudding user response:

Button control PWM duty cycle, or button control for regulating dac