Below are the macro configurations in the main.c
file.
#define MAX_VOL 2.5
Maximum input voltage is configured to 2.5 to calculate the voltage for measured ADC reading.
#define ADC_CHANNEL 5
The ADC input signal has been connected to channel 5: AIN5 (pin PA5).