Pages: [1]   Go Down
Author Topic: Random Fading LEDs  (Read 559 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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

thanks
Logged

Greenville, IL
Offline Offline
Edison Member
*
Karma: 15
Posts: 1330
Warning Novice on board! 0 to 1 chance of errors!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


  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.
Logged


Pages: [1]   Go Up
Jump to: