Hi,
Total newbie here and I am sure that my confusion is based on my own ignorance but every LED I have tried with the 'fade' example has required that I omit the 220 Ohm resistor (red red yellow). I not sure if the Mega2560 has the pull down resistors turned on or what but no matter how many times I load the software and or swap out the LEDs I get the same result, nothing, if the 220 ohm resistor is in place. This is true even when I bypass the circuit board entirely and feed the LEDs right from the gnd and +5 pins. Admittedly the LEDs get hot fast when I wire them right to 5 volts and don't seem to be over heating when I operate them through fade example , successfully by the way, without the 220 ohm resistor.
By some coincidence are all of my LEDs made with internal resistors?
Thank you for any light you can shed on this.
MikePett
I am using the arduino mega 2560 and the 0022 alpha software.
The real lesson to be learned is that one must first buy even a simple digital multimeter if they want to build or experimate with stuff using an Arduino. I never trust my eyes on resistors as colors can be faded or even missing. Just measure the resistors with your meter and you won't get rude suprizes like this.
Can you take a look at the code listed in reply #18 here http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1292540097/15
Warren has a simple count up timer intended to be used as a stopwatch eventually, except it seems to lose a lot of time pretty quickly, 2 seconds in just 5 minutes.
Pretty straightforward code, I talked him out of a bunch of floats and dividing down & messing with remainders & stuff. Just 6 counters, if hit 10 or 6 increment the next one in line & clear to 0.
Shift the count out every 10mS.
Thanks
Robert