ADC on LPC1830

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

ADC on LPC1830

1,030 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vincentl on Tue Mar 04 06:17:00 MST 2014
Hi there,

I'm new with these microcontrollers and I need to read out the ADC, where can I find the information needed to initialise and read out the ADC?
标签 (1)
0 项奖励
回复
1 回复

1,013 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vincentl on Thu Mar 06 05:41:32 MST 2014
So currently I'm using these commands for the initialisation and the start of the conversion:

ADC_Init(LPC_ADC0, 150, 8);
ADC_ChannelCmd(LPC_ADC0, 5, ENABLE);
ADC_StartCmd(LPC_ADC0, ADC_START_CONTINUOUS);

And:

ADC_ChannelGetData(LPC_ADC0, 5)

to read out the data! But without any result
0 项奖励
回复