jrz126
Active Member
Here's another question about my shift register project.
I'm using 8 shift registers, wired in series. shift 1 bit in, it will travel through all 64 bits before it reaches the end.
What I'm trying to do is, only have 4 to 8 bits set to '1'. and have the input to the SR's connected to the output, creating a loop. (once the bit reaches the end, it will be put back into the input).
I've gotten it to work by running the clock so that only 4 bits are 1's, then connecting the SR input to the SR output. This took some time to do, and required switch wires and stuff. Is there an easy way to do this so that every time I turn it on only 4 bits are 1's and it will loop in a circle?
I'd prefer to do it without a microcontroller.
(Sorry for the poor discription, I have class in about 2 minutes )
Here's a pic of part of the circuit.
I'm using 8 shift registers, wired in series. shift 1 bit in, it will travel through all 64 bits before it reaches the end.
What I'm trying to do is, only have 4 to 8 bits set to '1'. and have the input to the SR's connected to the output, creating a loop. (once the bit reaches the end, it will be put back into the input).
I've gotten it to work by running the clock so that only 4 bits are 1's, then connecting the SR input to the SR output. This took some time to do, and required switch wires and stuff. Is there an easy way to do this so that every time I turn it on only 4 bits are 1's and it will loop in a circle?
I'd prefer to do it without a microcontroller.
(Sorry for the poor discription, I have class in about 2 minutes )
Here's a pic of part of the circuit.