user26005: I am trying to control 64 leds through a number of 8:1 analog multiplexers. The input is from pin 11 on the Arduino which is giving 40mA (maximum) and it is pulsed at 38kHz. Then I use other pins to select one of 64 leds to control. For testing, I am just trying one of those leds. The problem is that the current across the led is just 2mA, which means it is very dim. Using a multimeter, the current after the first multiplexer seems to be 4mA and after the second just 2mA. How can I get the current to increase? Thanks in advance!

user4143: Analog multiplexers are not a good design choice for switching digital signals.
You should instead choose a digital solution. Maybe the 74HC138 would be a better choice? That's a 3-to-8 decoder with 3 enable inputs. 
You could use 9 of them to reduce pin usage on the Arduino, or 8 of them if you have pins to spare.
One of the enables on the first-stage can be a "mater enable" - or tie one of the enables of all 8 of the second-stage together for a "master enable". Another enable to all the 8 second-stage muxes can be the PWM signal. The third is driven by the Arduino or the first stage as a MUX selector. 
Something like this arrangement:

Note that the outputs are active low, so you would connect the anode of your LEDs to +5V and the cathode, through a suitable resistor, to the output. 
Another option would be to use a set of shift registers that have an output enable pin. Drive that pin with the PWM signal and you can have any combination of LEDs enabled at once.

26005: <p>I am trying to control 64 leds through a number of 8:1 analog multiplexers. The input is from pin 11 on the Arduino which is giving 40mA (maximum) and it is pulsed at 38kHz. Then I use other pins to select one of 64 leds to control. For testing, I am just trying one of those leds. The problem is that the current across the led is just 2mA, which means it is very dim. Using a multimeter, the current after the first multiplexer seems to be 4mA and after the second just 2mA. How can I get the current to increase? Thanks in advance!</p>
 4143: <p>Analog multiplexers are not a good design choice for switching digital signals.</p>

<p>You should instead choose a digital solution. Maybe the 74HC138 would be a better choice? That's a 3-to-8 decoder with 3 enable inputs. </p>

<p>You could use 9 of them to reduce pin usage on the Arduino, or 8 of them if you have pins to spare.</p>

<p>One of the enables on the first-stage can be a "mater enable" - or tie one of the enables of all 8 of the second-stage together for a "master enable". Another enable to all the 8 second-stage muxes can be the PWM signal. The third is driven by the Arduino or the first stage as a MUX selector. </p>

<p>Something like this arrangement:</p>

<p><a href="https://i.stack.imgur.com/eG8t7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eG8t7.jpg" alt="enter image description here"></a></p>

<p>Note that the outputs are <em>active low</em>, so you would connect the anode of your LEDs to +5V and the cathode, through a suitable resistor, to the output. </p>

<p>Another option would be to use a set of shift registers that have an <em>output enable</em> pin. Drive that pin with the PWM signal and you can have any combination of LEDs enabled at once.</p>
