Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 1 month ago.
I have trouble with the analog input
I have trouble to read the adc...
I have a pot between GND and Vout on a LPC1768 board. The middle pin of the pot is to p17 on LPC1768.
I have tried to use:
printf("%d", pot.read_u16() >> 4); printf("%f", (float)pot);
its work fine, but the voltage must be over 60-70mV before the LPC1768 is respond with a value over 0.
Like there is a offset.... before the ADC is start.
Can somebody tell me, what i do wrong?
I measure the voltage from the pot with at multimeter.