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.
6 years, 8 months ago.
nRF52 ADC and Serial Terminal
I wanna use nRF52 to read data through ADC and print values to a Serial terminal like Putty or Tera Term. But, I don't know how should I do it using mBed. Can someone give me a headstart on it?
2 Answers
6 years, 8 months ago.
Hello Anurag,
You can check out the AnalogIn API linked below:
https://os.mbed.com/docs/latest/reference/analogin.html
It also includes several examples which should help give you an understanding of the ADC functionality.
If you are interested in using Serial to output to a terminal, you can take a look at the link below:
https://os.mbed.com/docs/latest/reference/serial.html
Hope this helps!
-Karen, team Mbed
If this solved your question, please make sure to click the "Thanks" link below!
6 years, 7 months ago.
Hi Karen Yen, I want to change configuration for adc for nrf52. As it has multiple options available for resolution. How do we selection which resolution to use and which mode to use?