18.4.7. GPTMR generate PWM
18.4.7.1. Overview
The example shows generate PWM wave.
18.4.7.2. Board Setting
Please refer to Pin Description for specific board. Connect GPTMR compare output pin to oscilloscope.
18.4.7.3. Running the example
Running the example, and use the oscilloscope to observe the output comparison pins to output PWM waves with different frequencies and different duty ratios in sequence.