In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Coriolis wrote: [code];Clear Pending Register to Allow Interrupts. MODE #$0B ;Mode to Set Wakeup Pins MOV !RB,#WakeupMask ;1 = No Wakeup, 0 = Wakeup [i][/i][/quote]Is this the line you are refering to? Is this a cut and paste of your actual code? because this section should be MODE $09 CLR W MOV !RB, W to accomplish the stated purpose of the comment. And the code example suggests MODE $0F followed by MODE $0A, MODE $09 then MODE $0B for the order of setting up the MIWU. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=78775#m79736 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)