read different analog values?
Posted: Wed Aug 04, 2021 1:19 pm
Hello,
I am currently programing an ESP32 C3 devboard which has multiple ADC channels and i would like to read data from 3 different sensors.
The problem is that whenever i use analogRead() with any port it always only shows the measurment on GPIO1.
My question is how do i switch the current used ADC channel in arduino?
I am currently programing an ESP32 C3 devboard which has multiple ADC channels and i would like to read data from 3 different sensors.
The problem is that whenever i use analogRead() with any port it always only shows the measurment on GPIO1.
My question is how do i switch the current used ADC channel in arduino?