Question
Multichannel adc stm32f411ceu6

What is the correct way to implement multiple ADC channels? I have tried various tutorials on YouTube, but none of them work correctly. I am using two potentiometers. The ADC readings are random and cannot be controlled by the potentiometers. At one point, I managed to get it working, but only one potentiometer responded. The second potentiometer did not work, and the value of Channel 2 followed the value of Channel 1, even though Channel 2 should be controlled independently by the second potentiometer.
