In SX Microcontrollers, SX/B Compiler and SX-Key Tool, jdemeyer wrote: Thanks for the suggestions! I want to learn more about them, and provide an update. All of my tests are at 3.3 volts. I commented out all of the code except that which controls the timer, Port B set up, and SLEEP. I place a PAUSE ahead of the Port B set up to pause for one second. In this manner, I can watch my LED go off for two seconds (timer), and on for one (PAUSE). The timer has a reset pin which I had tied to Vcc. This made the timer always active. I changed it so the program controls this pin. Now, this pin is low until the timer is required. Reset goes high, and then the program triggers the timer. The program operated for about 8 minutes this way until it stopped triggering. It seemed that as I experimented more, the amount of time the program operated correctly decreased until it would run only a couple of minutes. When I watched the trigger line (the trigger requires a high-low-high transition) with the scope, it appeared at one point that it went low but not high as programmed. Is this a clue? I think for the purpose of my program, I don't have to shadow any port values. At reset, all of the ports are set up again to their original states in PortConfig.sxb (loaded at Start). I do see the trigger line pulse when the SX wakes from SLEEP. Since the reset pin is low, I think the timer ignores this pulse. Since it appears that the desired transition stops after a period of time, would a pull DOWN resistor assist with this issue? Thanks again! Joe ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=266190#m266515 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)