ADC Library for C (LPC55S06-EVK)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

ADC Library for C (LPC55S06-EVK)

1,223 次查看
caden013
Contributor III

I am trying to learn how to use the ADC on the NXP LPC55S06. I copied and pasted an NXP example project into the MCUXpresso IDE, but I am receiving errors for the line 

#include "fsl_adc.h" .

I do not know how to resolve this issue, so if anyone can help, I would greatly appreciate it. 

Thanks in advance.

0 项奖励
回复
3 回复数

1,208 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello caden013,

There is ADC demo under SDK, it support MCUXpresso, can directly open it.

Download from: https://mcuxpresso.nxp.com/en/select  

Alice_Yang_0-1622619300790.png

 

Choose LPC55s06.

 

BR

Alice

0 项奖励
回复

1,195 次查看
caden013
Contributor III

Thank you.

I noticed that the demo project uses the on-board temperature sensors, but I want to be able to take in analog inputs, using the analog inputs header (J13). Is there another example project that explains how to do this?

0 项奖励
回复

1,181 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello caden013,

You can copy your code into the SDK demo. 

0 项奖励
回复