Flickering Potentiometer

It works on my Teensy 3.2 without multiplexers. Post your exact code, and post the schematic you're using with the multiplexers.