Hi,
Thank you so much for your interest in our products and for using our community.
You can refer to the SDK examples (ADC Low Power, ADC Hardware Trigger, ADC PAL example and ADC Software Trigger) all of them use the potentiometer.
Hope it helps you.
Have a nice day!