arduino UNO A/D
I am trying to how to measure the voltages of a 6 series resistors in a ladder network, using the Arduino UNO A/D INTERNAL multiplexer by activating A0 to A5 sequentially.
I have found a lot of examples using 6 mechanical switches to connect the resistors individually to the terminals A0 to A5.
As a newbie I am having trouble making these connections in by using software ONLY, without
EXTERNAL electronics ( including an EXTERNAL multiplexer or mechanical switches).
QUESTION: (1) Is it possible to use a for() loop to connect the 6 resistor ladder network
to the A/D in a sequential manner ?
(2) Please give me an example of how this can be accomplished.
I have tried to do that but I my attempts to use a for() loop indexing the terminals
A0 to A5 as Ai have failed!