hey guys, i have just bought an arduino nano v3.o ATmega328 from ebay. I was planning to try the LED blinking program on it. I copied the code from the "Basics" section and selected the right board and tools, etc. it even got uploaded. however instead of th external LED blinking, the 'L' led on the board keeps on blinking. I tried to connect the led to various other pins (D2,D3 etc) and even changed the code accordingly but when i do that the 'L' led stops blinking and the externally connected led also doesn't blink. i am new to arduino and electronics in general.. can someone please help me?? is there a problem in the board or am i coding it wrong??
You are connecting the LED the right way round aren't you?
And with a current limit resistor?
pin - resistor - anode (long lead) - cathode (short lead, also flat spot on LED rim) to Gnd
Then writing HIGH turns on the LED.
pinMode(pinX, OUTPUT); // needs to reflect the pin in use.