ADC on LPC1830

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

ADC on LPC1830

1,034件の閲覧回数
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,017件の閲覧回数
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 件の賞賛
返信