LP11C24 ADC in, PWM out

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

LP11C24 ADC in, PWM out

753件の閲覧回数
altec1980
Contributor I

Good morning,

Hope this message finds you well. I recently bought many LPC11C24 units
for academic purposes.

I would like to know if you could share a C/C++ script taking an ADC
input (from a potentiometer) and then, proportionally scaling this input to a
PWM output duty cycle (ex: to LPC_TMR32B1->MR1 on pin # R_PIO1_2 ).

I'm using the MCUXpresso IDE (v11.6.0 ). I'm also using the common
header file "LPC11xx.h".

Thanks in advance for any help.

0 件の賞賛
返信
1 返信

718件の閲覧回数
Miguel04
NXP TechSupport
NXP TechSupport

Hi @altec1980 .

 

You can find some examples on the LPCOpen folder for the LPC11C24, to install it you must click on "Import project(s) from file system…" then click on "Browse" and look for the next route on the file explorer.

"MCUXpressoIDE_11.6.0_8187\ide\plugins\com.nxp.mcuxpresso.tools.wizards_11.6.0.202112161359\Examples\LPCOpen"

Install the .zip called "lpcopen_v2_00a_lpcxpresso_nxp_lpcxpresso_11c24"

 

Regards, Miguel.

0 件の賞賛
返信