LED Brightness control with PWM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LED Brightness control with PWM

ソリューションへジャンプ
3,085件の閲覧回数
DavidChang0
Contributor I

Hello,

I am very new to MXRT1050EVKB. I am trying to control with PWM signal. I have configure a pin as pwm1

peripheral. The pwm signal has also generated.But what more i should do control brightness of LED..what more have to implement and how?Please help

 

0 件の賞賛
返信
1 解決策
3,068件の閲覧回数
victorjimenez
NXP TechSupport
NXP TechSupport

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 

元の投稿で解決策を見る

1 返信
3,069件の閲覧回数
victorjimenez
NXP TechSupport
NXP TechSupport

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