The problem is with the other 8 green led's in that when I set x == 1 it works as expected for the first 7 red led's and lights up only the first one but nothing lights up on the green side.
While if I set x==2 it works as planed (lighting only the second led) again for the red led's and for the green led's it lights up the led for x==1 should light.
The thing is both sets of led's are lighting up at the same time but I only want one set to lite at a time for example if
x == 1 then only the first red led will light and say if y == 2 than the second green led will light. The problem is I don't know how to target only one shift register at a time.
To summarize I want to only have 7 green led's that I can control separately from the first set of red led's.
We need to see your code, read the how to use the forum sticky for how to post it correctly.
Also we need to see the schematic (not physical layout diagram ) of what you made.
Note there is an error in that tutorial, the capacitor should not be on the latch pin but between power and ground, you need one on each chip.
I don't know if you have done this because I cannot see the code.
If you look at the arduino page for using multiple shift registers it says to connect to the last pin ex dF' and connect that to the data input on the next register. What it then says is you need to send a shift out twice for each device. So What you need to do is shift out twice. The first shift out goes to the furthest register and so on. BUT only if you send another shiftout before flipping the latchPin. Its like the overload, so if you push data twice the first is sent out the overload to the next dataPin if connected
Sorry my question is inconspicuous what I was trying to get at is that I copped the ShiftOut tutorial and just used the code that was given In that tutorial. The link to the JSbin is the code that I wrote myself a bit and what i'm working off. I think I get where you are coming from with sending a second shift out so what ill do is try a few things that just came to mind that might work but will just take time to implement and get back to ye / make a new question if necessary thanks for your replays thus far.