AnsweredAssumed Answered

ADC using PE not working

Question asked by Amit Kumar on May 4, 2014
Latest reply on Jun 2, 2014 by Jiri Chvatik

Hi

I am using FRDM-K20D50M board with codewarrior10.5 along with PE. I have used ADC_LDD component from PE and I am trying to print the values on UART using Console_IO. I have written the code I don't know why it is sending out only '0' as output, I have tried connecting the ADC pin with 3.3v , 0v, and also left it open but it is giving the same value ' 0 '  kindly have a look on the attached program. I think this is supposed to be one of the simplest program and made me wonder why it is not working. Thanks in advance

 

Kind Regards

Amit Kumar

Outcomes