Pages: [1]   Go Down
Author Topic: Row of LEDs on large bread board, only half work  (Read 539 times)
0 Members and 1 Guest are viewing this topic.
NYC
Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

BCC AZ USA
Offline Offline
Edison Member
*
Karma: 34
Posts: 1157
It gets hot so it must be working
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You may need to bridge across the center of the horizontal power and ground busses.  


* bb.jpg (450.07 KB, 1755x615 - viewed 17 times.)
« Last Edit: October 03, 2013, 09:32:54 pm by groundfungus » Logged

NYC
Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: