how come the 3rd and 4th leds emit little light?

i have 4 leds connected to 4 different ports and one common GND, first 2 leds work perfectly fine but once it gets to the third and fourth led, they seem to have low electric current flowing through them...

i have 4 leds connected to 4 different ports and one common GND, first 2 leds work perfectly fine but once it gets to the third and fourth led, they seem to have low electric current flowing through them...

Are all 4 ports set to outputs with pinMode?

thank you!!

Wiring diagram. Code.

Thanks.

low electric current

The electric company didn't provide quality electronics. The fault has nothing to do with your hardware / software.

http://arduino.cc/forum/index.php/topic,126973.0.html

dhenry:

low electric current

The electric company didn't provide quality electronics. The fault has nothing to do with your hardware / software.

The hardware that we cannot see, and the code that is not provided.

Cross posting wastes time.
Don't do it.

Threads merged.

Don't forget current limiting resistors or all 4 will eventually be dim...