Pin issue

Hi everyone!

Every pin on my arduino works fine but when i set this

pinMode(13, INPUT);
digitalWrite(13, HIGH);

the tiny LED on the board near TX/RX LEDs is dimmed on..

Lucky number 13 ????

weak pull-up.

As dhenry is trying to explain, doing that turns on the internal pull-up, which effectively connects the on-board LED to 5V via about a 50K resistor.

[quote author=Nick Gammon link=topic=132602.msg997731#msg997731 date=1353011977] As dhenry is trying to explain, doing that turns on the internal pull-up, which effectively connects the on-board LED to 5V via about a 50K resistor. [/quote]

That shows how efficient modern day leds can be where even 100 micro-amps can generate some light!

Lefty