Is it possible to get two analog value in the same time?

I’m using Arduino uno to do some simple tests which is to get the analog value from different Analog pins, of course now I’m using analogRead function to do this job.

The problem is that if I want to get two different values from different analog pins, I have to write two lines like :

int val1 = analogRead(A0);
int val2 = analogRead(A1);

But when I write this two lines it means there’s a interval time between two values, is it possible to get the different values in the same time which means there’s no interval time between two values?



No. The MCU used in Arduino UNO – ATMega328 has one ADC module. It can only convert one Analog Input Channel at a time.

Thanks and Warm Regards.