Mux Shield Analog In/Digital Out

Thanks for the code. I'm still having issues with it working together... In fact, twisting a potentiometer hooked into one of the analog muliplexers is actually causing the led's to blink at different intensities. I'm wondering if this has something to do with the way the shield is constructed, as the analog in's all read in a voltage even is something is not connected to them, and it will vary depending on the voltage coming through an in with something connected to it. But thanks for all your help though so far Grumpy Mike!