Hello
I'm trying to make a simple program to read ADC values from a potmeter, connected to DIO29 (with other terminals on GND and 3V3), and display these on the UART. I'm basing my program on the example projects "ADCbuf" and "ADC". When running the ADCbuf (adcbufcontinuous) project I'm able to display values of ~3320000, which I assume is the uV value of the 3V3 PIN. I cannot figure out how to change ADC read to use PIN DIO29.
I have ran the Sensor Controller Studio and did manage read the potmeter real-time, which gave me values roughly between 0 and 3200, which I assume is the down-scaled 12bits values, and my goal now is to display the same [0,3200]-values real-time on the UART. How do I set the ADC PINs in my program?
More specific question: How do I modify the ADCbuf example to read from DIO29?