Home > other >  PWM
PWM

Time:09-25

What a great god help me to explain the question in the PWM
This is the main function in the
Thank you thank you self-study really learn bald

CodePudding user response:

Delay (5) is in the key shaking; Pwm_led_val should be the output of the PWM duty cycle of 0 ~ 20, the percentage is not clear; while(! Key_s2) is waiting for the buttons up, the program is not complicated, I don't understand?

CodePudding user response:

reference 1st floor yishumei response:
delay (5) is in the key shaking; Pwm_led_val should be the output of the PWM duty cycle of 0 ~ 20, the percentage is not clear; while(! Key_s2) is waiting for the buttons up, the program is not complicated, I don't understand?

This part I understand thank you, it is part of interruption in the evening I can clap again please teach you

CodePudding user response:

The principle of breathing lamp, PWM increase for a period of time and then PWM decrease