Hello,
Within the SDK for the RT1050-EVKB you will find a PWM example. This is a good starting point for your application. If you want to see the PWM through an LED, you have two options:
- Connect an external LED to one of the PWM outputs of the example.
- The USER_LED of the RT1050-EVKB is connected to pin GPIO_AD_B0_09. This pin has PWM functionality. So, you can modify the SDK example to activate this pin as well. This way, you will see the PWM through the onboard LED.
Regards,
Victor