Introduction - If you have any usage issues, please Google them yourself
In hardware circuit PWM.DSN, P1.7 output PWM wave is realized. The cycle T=100ms, the initial duty cycle (T1/T) is 50%, the key KEY1 increases by 10% each time (until 90%), and the KEY2 decreases by 10% (until 10%).