In SX Microcontrollers, SX/B Compiler and SX-Key Tool, tdg8934 wrote: I tried researching this on the forum and did not see anything similar to what I am trying to do. I am trying to control basically 4 sets of displays of LEDs that use multiple 74HC595s. What I need to do is something like this: SHIFTOUT Dpin1, Clk, MSBFIRST, pattern1 SHIFTOUT Dpin2, Clk, MSBFIRST, pattern1 SHIFTOUT Dpin3, Clk, MSBFIRST, pattern1 SHIFTOUT Dpin4, Clk, MSBFIRST, pattern1 Low Strobe : : As you can see there is Dpin1 to Dpin4 in the 4 SHIFTOUT commands. When I use a configuration like this I see the LEDs scroll correctly but are off by 8 LEDs between each display - as I would expect because pattern1 is 8 bits. What I would like to do is modify SHIFTOUT or some other method to have all sets of LEDs scroll at the same time (not 8 LEDs off). Something like SHIFTOUT Dpin1, Dpin2, Dpin3, Dpin4, Clk, MSBFIRST, pattern1 would be nice but not possible using the standard SX/B SHIFTOUT command. I was going to try using 4 different Clk pins for each of the statements but havent tried that yet. Im thinking that won't work because of pattern1 still being 8 bits. Any ideas how to acheive the same data shifting over 4 Datapins? Thanks. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=273480 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)