I need a simple circuit for controlling an analog Multiplexer. The first part is a basic synchronous counter that can count up to 2 (00, 01, 10, then back to 00) which is controlled by a tactile switch, the 2nd part is a digital mux that is used to indicate which number the counter is on via 3 LEDs, and the 3rd part is an analog mux which is also controlled by the counter. I could do this with a pair of schmitt triggers (one to condition the pulse generated by the tactile switch, and the other to reset the counter to 00 when power is turned on), a dual JK flip flop for the counter, an AND gate to reset the flip flop when it counts to 11, a 4052 mux for the LEDs, and finally a DG409 for the analog multiplexer. It seems overly complicated though. Is there a simpler way to do this? Maybe a simple PIC? The DG409 is the only non-negotiable component.