Hey guys.
Subject says it all. Sketch uploads fine, but most of the board does not work. Built-in LED blinks fine, but when I try to connect an external one to any of pins - it doesn't work. I discovered this when I tried to use ArduinoISP but it did not work(kept saying "timeout" so it must be something more that inactive output pins). As far as I am concerned, I didn't damage it in any way, and it worked fine when I got it(have it for a few weeks now). Any suggestions?
Post your connection diagram . Screen shot of your error window and COde Here. Then Elobrate what your are doing
Here's a code:
int led = 2;
void setup() {
pinMode(led, OUTPUT);
}
void loop() {
digitalWrite(led, HIGH);
delay(1000);
digitalWrite(led, LOW);
delay(1000);
}
Circuit is pretty simple, so I'll just include a photo:
It doesn't show any error codes, it simply does not work.
i can clearly see that gnd pin is not connected to resistor path.First you just change Pin no from
int led = 2;
to
int led = 13;
check whether your led should blink.
OH SHIT I'M SO STUPID I FORGOT ABOUT GODDAMNED GROUND
Everything works, thank you a huge lot, I nearly lost my mind