A/D Conversion

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by askksa12543 on Mon Nov 17 10:12:20 MST 2014
I am using an NGX Xplorer 4337 board for a school project and am having difficulty with setting the ADC up. When I try to setup the memory pointer for the ADC it tells me LPC_ADC undeclared (first use in this function). I am trying to define it like I did with the PWM.

#define ADCLPC_ADC

I'm not sure why this wouldn't work the same as

#define SCT_PWM            LPC_SCT

when setting up the pulse width motor control. There isn't an ADC example that I can find to determine if I am setting up the wrong pointer. Please help. Thanks,

Kevin Anderson