In SX Microcontrollers, SX/B Compiler and SX-Key Tool, tdg8934 wrote: With 16 I/O lines the direct method would only provide 16 outputs for 16 LEDs using a current limiting resistor for each LED. I haven't seen any examples for the SX for using a 64 LED driver like the MAX7219 but I'm sure it can be done. There are many examples for the Basic Stamp 2 (BS2). I even worked on a multi-IC (MAX7219) version (128 or more LEDs with 2 or more MAX7219) for the BS2. The easiest approach is to use (8) 74HC595 IC's which allow you to control 8 LEDs at a time for each IC using a simple SHIFTOUT command for each 74HC595. The downside to using the 74HC595's is that there are 8 of them compared to only 1 MAX7219. Many other possibilities are possible but those are the ones I see used most often here. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=232368#m232389 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)