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