Hey I think it is! The led blinking near 13 is the proper result, since its attached to that pin
If you want pin 10 to blink, change the digitalWrite(13,high) to digitalWrite(10,high), as well as where it says digitalwrite(13,low)
no, it isn't solve. It doesn't work. 8-13 doesn't matter.
to be sure: this blinking orange led is pernament on board. Not mine.
my code: (avaiable in all helpdesks (F1/Help))
void setup() {
// initialize the digital pin as an output.
// Pin 13 has an LED connected on most Arduino boards:
pinMode(10, OUTPUT);
}
void loop() {
digitalWrite(10, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(10, LOW); // set the LED off
delay(1000); // wait for a second
}
edit: this orange led doesn't blinking. Now it's constantly light.
edit#2: maybe its cosed by resistor? I'm using 90k
I pluged 300k, polarity is good (i've tried both ways).
void setup() {
// initialize the digital pin as an output.
// Pin 13 has an LED connected on most Arduino boards:
pinMode(10, OUTPUT);
}
void loop() {
digitalWrite(10, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(10, LOW); // set the LED off
delay(1000); // wait for a second
}
OK so you fixed your GND problem or was this a different picture with the jumper in the correct pin?
You need to use 300 ohms, not 330 K ohms. If you had better white balance on your picture, I would be able to read its color code but now that you told us, it's 1000 times too big.
Ok, problem has been solved. The reason was i used resistor 300k (yes kiloohm), when i should use no more than 470 (ohm) as you told me. Now it looks great!
Thanks for all, esspesialy for Techone who saw the problem first.