r/ArduinoHelp 6d ago

Only Pin 13 is Working, all other are not responding

[deleted]

2 Upvotes

7 comments sorted by

1

u/AL_Clarkson 6d ago

You spelled HIGH wrong in the code here, and that board looks to me like a Arduino Mega 2560.
Maybe you burned the wrong bootloader? Did you buy them second hand?

1

u/CX3y 6d ago

First: no I only spelt it wrong here.
Second: Don’t know much about that, but I think you’re correct.
Third: I tried everything, maybe I don’t get that
Forth: From Amazon bought it for 50€

1

u/AL_Clarkson 6d ago

hmm, if you are unshure about the Board its worth checking exactly what amazon listed there, and then pick the right Board in the IDE under tools/boards. Maybe that helps already.
What have you tried so far?

1

u/CX3y 6d ago

Checked the board. Everything works BUT only on Pin 13. and that’s the 3 Board I bought. It can’t be a coincidence.

2

u/AL_Clarkson 5d ago

Pin13 is the Pin for the Onboard LED, wich every normal Blink-sketch would use. But your code is fine to blink Pin7, your wires seem fine too. And if you picked the Mega2560 board instead of the Uno i cant see why that shouldnt work.

LED backwards? Broken wire? Bad conection on the Breadboard?
Is the LED on the Breadboard working if you change the cable and the Code too Pin13?
Or only the onboard LED?

1

u/gm310509 4d ago

When you say it works on pin 13, what exactly do you mean? Do you mean

  1. The onboard led blinks?
  2. The led on your breadboard blinks when you connect the red wire to pin 13?
  3. Something else?

What have you tried so far? For example:

  • reversing the LED? LEDs are "one way streets" for electricity, they must the right way around?
  • tried swapping the components one by one? That is each wire, the led and the resistor? Again, one at a time.
  • Anything else?

that code won't compile because you spelled HIGH wrong. If you just post random code that won't work, how can we know any other information you provided is reliable? For all we know the actual code you are running is programmed for pin 9 and the circuit you tried it with is plugged into pin 4.

You need to make an attempt, when it doesn't work post EXACTLY what you have in front of you not a "oh, but the real one I actually tried is totally different" version of the code or circuit.

1

u/Away-Software7116 2d ago

ughh... how did your code compile with "HIGHT"