Random Generator to control light display
Posted: Tue Apr 01, 2014 2:22 am
Greetings I am hoping to create a simple program that will execute a random number generator that controls a set of 12 lights.
From a small switch, I want the lights to light up sequentially (or randomly) from 1 through 12 linearly (1,2,3,4 etc) all the way up to 12 then back down (12,11,10,9 etc) randomly stopping somewhere between 1 & 12 and staying lit. I want this set of lights to remain lit until the next time the sequence is started by the switch.
Essentially I am creating a "Love Tester" that would randomly generate a value that would correspond to a set of lights up on a board. Below is an example of what I would like to create.
http://www.youtube.com/watch?v=-rGqHNviVcI
I am a COMPLETE noob to this, so please be specific in what I would need.
Thank you for your time
Mikee
From a small switch, I want the lights to light up sequentially (or randomly) from 1 through 12 linearly (1,2,3,4 etc) all the way up to 12 then back down (12,11,10,9 etc) randomly stopping somewhere between 1 & 12 and staying lit. I want this set of lights to remain lit until the next time the sequence is started by the switch.
Essentially I am creating a "Love Tester" that would randomly generate a value that would correspond to a set of lights up on a board. Below is an example of what I would like to create.
http://www.youtube.com/watch?v=-rGqHNviVcI
I am a COMPLETE noob to this, so please be specific in what I would need.
Thank you for your time
Mikee