So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By chamathkv
#79677
JoeVanGeaux wrote:I had a similar, or the very same, problem just recently.

Change the "4" in your sketch to a "D7" then attach an LED (the longer leg) to the D7 output and the shorter leg (the ground) to "G". Then reload your sketch. A lot of these sketches are referencing pin connections that don't mesh exactly with every (or many?) varieties of other boards out there, so some translation is in order - and I'm still trying to figure that out, myself!

I suspect this isn't the most elegant (read: "proper") way to hook up the LED, but it worked for me. A resistor of some value may need to be added in series with the led (you may find that is some tutorial videos) because when the code is loading the LED is dimly lit and I think, just maybe?, it shouldn't really be lit at all at that point.

Good luck!


Thanks! I will try this out.
User avatar
By JoeVanGeaux
#79679
chamathkv wrote:
JoeVanGeaux wrote:I had a similar, or the very same, problem just recently.

Change the "4" in your sketch to a "D7" then attach an LED (the longer leg) to the D7 output and the shorter leg (the ground) to "G". Then reload your sketch. A lot of these sketches are referencing pin connections that don't mesh exactly with every (or many?) varieties of other boards out there, so some translation is in order - and I'm still trying to figure that out, myself!

I suspect this isn't the most elegant (read: "proper") way to hook up the LED, but it worked for me. A resistor of some value may need to be added in series with the led (you may find that is some tutorial videos) because when the code is loading the LED is dimly lit and I think, just maybe?, it shouldn't really be lit at all at that point.

Good luck!


Thanks! I will try this out.


No prob... BUT take McChubby007's advice to add that resistor. .. unless you have no resistors AND you have several spare LEDs you don't care about!