In SX Microcontrollers, SX/B Compiler and SX-Key Tool, tdg8934 wrote: I have written a program (although not complete for the BS2) that connects to an AD-801-B 16x32 LED matrix. It uses 3 Serial In LED driver chips much like the 595 in some ways. The first 16 bit shift register LED driver (LC7932M) controls the rows 1-16 and the remaining 2 LED drivers (LC7932M) on the AD-801-B drive the 32 columns. The BS2 program strangely starts sequencing 1 LED on/off starting at the 9th row, 1st column to the 8th column. Then the program sequences the LED on/off on the 16th row, but at the 16th to the 23rd column. I can not get them to cycle across all 16 columns (nor all 16 rows - EXCEPT IN THE SX/B program). All that is really different is the use of the \BITs optional command (BS2) or \COUNT optional command (SX/B) for the SHIFTOUT command. On the BS2, if I use the \16 (for 16 bits output) the display is blank. However, in the SX/B version i can use the \16 command the output is quite different better in someways. In the SX/B program I see all 16 rows ON starting at column 1 and it sequences the LED on/off accross all 32 columns. However, when entering in a value for SIN_1 (that controls the rows),...all the LEDs turn on. I can change the pattern on the columns to whatever I want and it does work but on the rows it only works with 1 or values not related to 2, 4, 8, 16. It is weird. Why are the displays so radically different between the BS2 version and the SX/B version? BS2 ooooooooooooooooxxxxxxxxxxxxxxxx oooooooooooooooooooooooooooooooo oooooooooooooooooooooooooooooooo oooooooooooooooooooooooooooooooo oooooooooooooooooooooooooooooooo oooooooooooooooooooooooooooooooo oooooooooooooooooooooooooooooooo oooooooooooooooooooooooooooooooo xxxxxxxxxxxxxxxxoooooooooooooooo oooooooooooooooooooooooooooooooo oooooooooooooooooooooooooooooooo oooooooooooooooooooooooooooooooo oooooooooooooooooooooooooooooooo oooooooooooooooooooooooooooooooo oooooooooooooooooooooooooooooooo oooooooooooooooooooooooooooooooo The "x"s turn on and off starting at row 9, col 1 to row 16, col 16. SX/B xooooooooooooooooooooooooooooooo xooooooooooooooooooooooooooooooo xooooooooooooooooooooooooooooooo xooooooooooooooooooooooooooooooo xooooooooooooooooooooooooooooooo xooooooooooooooooooooooooooooooo xooooooooooooooooooooooooooooooo xooooooooooooooooooooooooooooooo xooooooooooooooooooooooooooooooo xooooooooooooooooooooooooooooooo xooooooooooooooooooooooooooooooo xooooooooooooooooooooooooooooooo xooooooooooooooooooooooooooooooo xooooooooooooooooooooooooooooooo xooooooooooooooooooooooooooooooo xooooooooooooooooooooooooooooooo x -> sequences in an up/down column all the way across. Any explainations of what's happening here? ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=194365 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)