Hi Guys,
I am very new to arduino and I am struggling with a simple thing. I am getting suspicious if my arduino board is broken or something. Anyway, I wrote a simple code, which is;
void setup() {
pinMode (11, OUTPUT);
pinMode (9, OUTPUT);
pinMode (10, OUTPUT);
}
void loop() {
digitalWrite(11, HIGH);
delay(1000);
digitalWrite(11, LOW);
delay(1000);
}
so I am expecting only #11 led to blink but #9 &10 are also on, I even added these lines in the loop;
digitalWrite(10, LOW);
digitalWrite(9, LOW);
but they still turn on. but if I want to blink #9 & 10 they do blink and the outputs work properly.
I deleted the lines that I declare #9 & 10 in the setup and they turned off only that way.
I cant understand the problem.
Can you help me with this please?
Thanks