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?