Led's and shift registers


hi i'm new arduino , doing project requires lot of led's have far breadboard set this:http://www.arduino.cc/en/tutorial/shiftout found code samples quite hard read looked else , found http://learn.adafruit.com/adafruit-arduino-lesson-4-eight-leds/overview
took code changed lite individual led's based on x http://jsbin.com/buhijuro/1/edit   
and works perfect first 7 red led's.

the problem other 8 green led's in when set x == 1 works expected first 7 red led's , lights first 1 nothing lights on green side.

while if set x==2 works planed (lighting second led) again red led's , green led's lights led x==1 should light.

the thing both sets of led's lighting @ same time want 1 set lite @ time example if
x == 1 first red led light , if y == 2 second green led light. problem don't know how target 1 shift register @ time.

to summarize want have 7 green led's can control separately first set of red led's.

thanks in advanced.

we need see code, read how use forum sticky how post correctly.
also need see schematic (not physical layout diagram ) of made.
note there error in tutorial, capacitor should not on latch pin between power , ground, need 1 on each chip.


Arduino Forum > Using Arduino > LEDs and Multiplexing > Led's and shift registers


arduino

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support