9 years, 10 months ago.

array of analogin pins.

Hello, Is it possible to have an array of analog in pins?

It would be really helpful if I can find a way to create an array of analog pins.

For(int i=0;i<n;i++) { sensor_value[i] = analogpin[i].read(); }

Something like this...

Please let me know if something similar is possible If not, at least let me know an alternative. Thank you..

Be the first to answer this question.