How to use PWM to control light on an LED

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

How to use PWM to control light on an LED

ソリューションへジャンプ
888件の閲覧回数
eugenferaru
Contributor I

System is k60, MQX 3.8.

The MQX_3.8\demo\pe_demo\cw10\pe_demo_twrk60n512 makes a reference to the PWM_Init and PWM_Enable functions.

I have tried to i port this sample project and it does not compile.

Questions:

1. How can the project be imported in CodeWarrior 10.2 and compile?

2. Where are these PWM_Init and PWM_Enable functions defined?

3. How can FTM be used to control light on an LED?

Thanks,

タグ(4)
0 件の賞賛
1 解決策
323件の閲覧回数
c0170
Senior Contributor III

Hello Eugen Feraru,

this thread provides some information regarding PWM and MQX:

https://community.freescale.com/message/94112#94112

PWM driver is not part of the MQX therefore there's component you should add to your bsp to have PWM functions available.

Those particular questions are more related to PE than MQX. If you don't receive proper response, please start new thread in PE section and we lock or delete this thread. Thx.

Regards,

MartinK

元の投稿で解決策を見る

0 件の賞賛
1 返信
324件の閲覧回数
c0170
Senior Contributor III

Hello Eugen Feraru,

this thread provides some information regarding PWM and MQX:

https://community.freescale.com/message/94112#94112

PWM driver is not part of the MQX therefore there's component you should add to your bsp to have PWM functions available.

Those particular questions are more related to PE than MQX. If you don't receive proper response, please start new thread in PE section and we lock or delete this thread. Thx.

Regards,

MartinK

0 件の賞賛