Arduino Random Multiple Blinking LED's Without Delay using millis

preview_player
Показать описание
This is a sketch for adding random multiple blinking leds to the Arduino without using delay (millis based). There are two sketches, one uses less memory, but is less versatile. I feel sure there are better ways to do this, but this does work. ENJOY

Dropbox Link to sketches -
Рекомендации по теме
Комментарии
Автор

Fantastic video and sketches! I added extra pin outs and parameters to the sketch so I can use every pin (which is my standard modus operandi) in sets.

christmasdreams
Автор

This is an excellent video - just what I was looking for. I'd like to ask a question. If I wanted to trigger this program with a photo resistor, what bit of code would I need to add? If it's too complicated to answer, then disregard - I'll figure it out somehow. I'm a little rusty with Arduino - lol!

stevelane
Автор

I have watched this video twice. excellent video

samj
Автор

Thank you very much, brother, God bless you.

aaronselmi
Автор

I'm working on stage lights. will this code work to control a relay module to turn on & off 120v lights through the relays? sorry, I'm kind of new to this.

billydawson