Hi this is my first thread and I'd like to ask for advice on my project, I would be very greatfull for any help or if anyone could point me to a good website.
I'll try to explain the problems as well as I can.
My problems:
I would like to build a small handheld console with one built-in game. The game consists of led's moving in sequence, and I'm using shift registers to do that.
'But the part I'm stuck on is That I need one of four led's to come on at random', now I've tried making a randomizer, but because it has two clocks as inputs, this just makes a sequence that is the same everytime instead of being random, so how can I make a randomizer or something similar with clock inputs and have it actually give a random output?
My other problem is that I need an led in a row of four to move left or right at the command of two buttons, so that everytime I press left the led will move left once and stay there untill I press another button? (left or right)
I will be very greatfull for any examples or tips on either of these.
THANKS
I'll try to explain the problems as well as I can.
My problems:
I would like to build a small handheld console with one built-in game. The game consists of led's moving in sequence, and I'm using shift registers to do that.
'But the part I'm stuck on is That I need one of four led's to come on at random', now I've tried making a randomizer, but because it has two clocks as inputs, this just makes a sequence that is the same everytime instead of being random, so how can I make a randomizer or something similar with clock inputs and have it actually give a random output?
My other problem is that I need an led in a row of four to move left or right at the command of two buttons, so that everytime I press left the led will move left once and stay there untill I press another button? (left or right)
I will be very greatfull for any examples or tips on either of these.
THANKS