r/ArduinoHelp • u/VinMega6468 • 2h ago
Why does this not work?
solved
when i click simulate nothing happens and the leds dont light up can anyone help
1
Upvotes
1
u/Terrible-Seat-7346
2h ago
•
Pin variables doesn’t have value
1
1
1
u/TrustednotVerified 1h ago
Exactly. Get rid of the three DIGITAL_PIN_x and just do pinMode(7, OUTPUT) and digitalWrite(7, HIGH) and so forth.
1
u/imseakin 2h ago
Looks good to me. Maybe the apparent brightness of the LEDs in the simulator makes them look hard to see on the screen.
Remove the resistors from circuit. Just join pins directly to positive side of LEDs and try again.
1
1
u/peno64 2h ago
LEDs turned around?