In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: Arrays and banks are handled differently on the SX28 and SX48, and for this program it made sense -- so that others could follow the code -- just to drop in a second virtual servo controller, especially since it would have been complicated to have the timers in one bank and the pin pointers in another (if you look closely I'm running two pins at once, one on each port). Most of my programs are for the SX28 and I tend to declare 16-byte arrays so that individual banks are used; that keeps things easy to track when working with those variables in assembly. In high-level SX/B, there are no worries, all the gory bank-pointing stuff is automated -- in fact, I have learned a ton by looking at the output created by SX/B. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=252933#m253578 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)