Go Down

Topic: Random Fading LEDs (Read 585 times) previous topic - next topic

daffyzone

Hi, complete noob in this. Just bought the Uno and starting to work it all out.

Could anyone please help me with the code for this link http://www.youtube.com/watch?v=-Yn5S6LLwK0

I am wanting to build from this, but would love to disect this code first.

thanks

cyclegadget


  You have not posted any code for us to help you with so, I am going to assume you are a beginner.

Some things to get you started,

1.) The Arduino Uno PWM pins are 3,5,6,9,10,11...these are necessary to fade LEDs
2.) The IDE comes with an example of fading one LED. The sketch is called "fading". http://arduino.cc/en/Tutorial/Fading
3.) Here is a function called Random. You will need this for your sketch when you are ready for it. http://arduino.cc/en/Reference/Random

Those tips should get you started, write some code try it out and ask for help and give us as many details as you can about your results.
Good links: Eagle tutorial= http://www.youtube.com/playlist?list=PLDE1858BD83D19C70
General Arduion tutorials = http://tronixstuff.wordpress.com
http://www.gammon.com.au/forum/bbshowpost.php?bbtopic_id=123

Go Up