[SOLVED]: Analog values through multiplexer are very inconsistent!

where do u set the pinMode of the MUX control lines?
or is it not necessary anymore...?
i still use those old arduinos duemil...

i have another suggestion (in case u like loops):

for (int8_t i=3; i>=0; i--) digitalWrite(cl[i],channel&(1<<i));

:slight_smile: