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!
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!
Thanks for the very quick reply. Connecting a bridge to the ground solved this issue.