I am trying to read ADC value from a pot.
The chip configuration is MK20DX256VLL10 and software i used KDS3.0+ KSDK1.2+PEx.
I am sure there is no problem with hardware since it works in my old code with KDS2.0+PEx.
So I am thinking my ADC configuration and code sequence might went wrong. I checked
example code and couldnt figure out what went wrong.
Every time i run the code, the ADC value jumped from 255 to 0. It made no difference when I plug and
unplug pot. I have attached my code project and configuration screen shot.
Could someone help? Thanks in advance.
Original Attachment has been moved to: adc_test.zip