Go Down

Topic: Row of LEDs on large bread board, only half work (Read 629 times) previous topic - next topic

thunderball

Hi all,

How come only half of my LEDs are lighting up?



void setup() {
  for (int i = 1; i < 8; i++) {
    pinMode(i, OUTPUT);
  }   
}

void loop() {
  for (int i = 1; i < 8; i++) {
    digitalWrite(i, HIGH);
  }   
}

thanks!

groundfungus

#1
Oct 04, 2013, 04:25 am Last Edit: Oct 04, 2013, 04:32 am by groundfungus Reason: 1
You may need to bridge across the center of the horizontal power and ground busses.  

thunderball

Thanks for the very quick reply. Connecting a bridge to the ground solved this issue.

Go Up