In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: Sometimes I code things exceedingly cautiously, hence the BANK 0 in the first example. Here's the thing: isrFlag is defined as a bit in flags which is always the first variable I define -- this puts it into the global variable section of the SX so it can be accessed from anywhere, it doesn't matter what the BANK setting is -- this is why I've removed the BANK setting in the section example. And unless the ISR was defined as NOCODE there is a BANK 0 at the top of the ISR code that gets generated by SX/B. I'm interested in what happens with your timers issue; at the moment I'm working on a program that is going to use the timers for PWM control of motors and I've decided I want to add my buffered serial routines; I haven't done that yet and now will proceed with caution. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=251686#m251691 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)