Pages: [1]   Go Down
Author Topic: Arduino board LED and external LED on pin 13 blinking at different rates  (Read 1391 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Trying the blink example code without any modification on a Duemilanove board (with ATMEGA328) I get the board LED blinking correctly every 1000ms and the LED connected to pin13 blinking almost three times during the on cycle of the board led...

Any ideas why and how to fix it?
Logged

Offline Offline
God Member
*****
Karma: 32
Posts: 506
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It might be a flashing LED - some LEDs have a chip inside them that makes them flash. Does it flash when connected to +5v? (use a series resistor for this test - even though if it is a flashing LED it probably won't need one)
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

gosh.. you're right! I didn't know about different kinds of LEDs. It's a flashing one, mystery solved.

thanks for the quick reply

http://inception.davepedu.com/
Logged

Red Sea, Saudi Arabia
Offline Offline
God Member
*****
Karma: 11
Posts: 579
..On The Red Sea
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Wow.. I was ALMOST ready to say "That's Impossible".. but I have learned the hard way NOT to say that  smiley

I ALMOST wish you hadn't answered this already...
Logged

Regards, Terry King  ..On the Red Sea at KAUST.edu.sa
terry@yourduino.com  LEARN! DO! (Arduino Boards, Sensors, Parts @ http://yourduino.com

Left Coast, CA (USA)
Online Online
Brattain Member
*****
Karma: 331
Posts: 16480
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Wow.. I was ALMOST ready to say "That's Impossible".. but I have learned the hard way NOT to say that  smiley

I ALMOST wish you hadn't answered this already...

It ranks up there with the unknown, hidden from view, left-handed threaded access screw.

Lefty
Logged

Pages: [1]   Go Up
Jump to: