Since you say you are a beginner, and I am one as well, I thought I would make sure that you are resetting the INT0IF in the interrupt routine. Dumb mistake I have made a few times already. While I am at it.... make sure that no other interrupts are enabled, or at least they are handled (???IF = 0) if they are enabled. Rolf Robertino Benis wrote: > Hi > > I have one simple (and most likely quite stupid) beginner's question: > > How long is too long to keep an interrupt pin high on PIC 18F452? Does this > question make sense? I was not able to find that in PIC sheet from > Microchip. > > I was testing with a 'push-on' switch that caused some odd behavior in > interrupt handling routine (interrupt pin: RB0/INT0). > > My interrupt handling routine would change some values of variables in RAM > which would change how long the test LED lights and then switches off. Maybe > the routine was just badly written, but it may have something to do with how > long was that INT0 pin kept HIGH... > > Any thoughts/comments? > > Thank you... > r. > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist