In SX Microcontrollers, SX/B Compiler and SX-Key Tool, dkemppai wrote: So, in summary, any input that is low at wakeup causes its corresponding wkpnd bit to be set high, even if there was no edge on that input. It can be sorted out by looking at the current contents of rb and comparing with the past contents, provided the high and low states are long enough in duration. If the inputs are short pulses, and you can't rewire the board, maybe a capacitor for pulse stretching could be hacked in. I don't know any secret way around this. I agree it needs to be better documented. [/quote] [2] I'm really glad that some other people are looking into this bug. I was pulling my hair out last summer, and no one believed me! I believe that parallax needs to fully document this oddity. I know that when I go to use the wakeup feature again, I will have forgotten everything that was discussed in this thread. Also, have any you run into the bug where you need to manually shadow output before going into sleep mode? If you enter sleep mode, output states are lost. You need to read and store then before going to sleep, then restore them upon wakeup. Even then, some outputs will have glitches on them. [/2] -Dan ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=106511#m108010 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)