This test code use PWM to control LED flashing, however, users can use PWM to do other things with the PWM initialization code