In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: The syntax is okay, but don't put the code to setup !option "IN" the interrupt routine... Only put the code you want executed at each interrupt in the interrupt routines. Put the setup code after "Main". Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=109269#m109281 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)