In SX Microcontrollers, SX/B Compiler and SX-Key Tool, smhhadima wrote: I'm using "INTERRUPT 1000" so the SX will perform a task every 1ms and compiler sets the OPTION for me Now I need to disable the INTERRUPT to initialize other devices then I want to re-enable the interrupt again I used this commands to disable the interrupt temp=option temp=temp ^ %01000000 option=temp ' ' ' and I used this to re-enable it: temp=option temp=temp & %10111111 option=temp when I use this commands set after the "Start:" label and before "Main:" label, the SX, hangs and does not work and I cannot even debug it!! the debug freeze and never gives me the options to run of walk,.... (even-if I used the break command) :confused: ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=198090 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)