In SX Microcontrollers, SX/B Compiler and SX-Key Tool, johncouture wrote: RG, You put the DELAY in the wrong place: That area should read as follows. Notice the DELAY SUB is AFTER Interrupt and you have to put a GOTO in there: ' ------------------------------------------------------------------------- INTERRUPT ' ------------------------------------------------------------------------- GOTO ISR_START ' ------------------------------------------------------------------------- ' Subroutine Jump Table ' ------------------------------------------------------------------------- DELAY SUB 1, 2 ISR_Start: ' your interrupt routine in here ISR_Exit: RETURNINT 156 ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=114622#m114652 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)