I am still learning so bear with me. Is there a way to wire things up on the breadboard with two shift registers that control the same LEDs but if I press a button toggle between which register is running? I can see it in my mind as simply the button completing the circuit to one register and when it's done it goes back to the other one but I'm not certain of how to wire it. Hoping I'm clear on this.
R1 controls led1-6 normally. I want to press a button to make R2 control those 6 LEDs for an amount of time but I'm not sure how this would be wired. I googled a bunch of things but nothing seemed to answer this
Aren't the shift registers connected to a processor? Then you can just write different values into one register. It seems crazy to use two, so you need to explain why you think this way is necessary. It's also routine and easy to connect a push button to a processor.
I am unsure if it is necessary. I thought it might be because despite one shift register running all the LEDs I would need to have another one take over for the second routine when pressed but I suppose it wouldn't be needed if I can just overwrite it. Especially if pressing this button can run two routines at once (unrelated to this one).
I have code that will do all I want it to(lets call it CODE 1) but I need to integrate the register code into CODE 1. There is a button in CODE 1 that causes everything to deliberately go haywire, all lights flicker and flash randomly. While I know I can't do the flickering I can make the LEDs at least flash at random if pressing that button will cause the haywire code to run coupled with the flashing. I am fairly confident I can write the randomness but I don't know how to wire the button to control the shift register. I might be overthinking this though. I tend to do that.
in any case I can't test until I get more bread boards...stuck somewhere between here and China