Question
ADC read from multiple pins? STM32F411
Hello,
I'm using cubeIDE for the whole setup and I'm trying to read a voltage from 2 different pins now when using:
HAL_ADC_Start(&hadc1);
HAL_ADC_PollForConversion(&hadc1, HAL_MAX_DELAY);
ADCPin1Val = HAL_ADC_GetValue(&hadc1);where hadc1 pointer refers to the first pin I set.
But how do you set the reading channel to be from another pin lets say A2?
