In a message dated 9/13/01 5:27:23 PM Pacific Daylight Time, snurple@HOTMAIL.COM writes: > Sigh, some idiot put the LISTSERV as his reply-to address, so my message got > totally lost. And I ain't typing it again. > > Briefly, your problem with your interrupt routine is that you clear bit RBIF > at the end_int section. However, this is not the correct flag. You need to > clear INTF, since you are using RB0, not RB4:7 interrupt on change. Also > make sure that your input is attached to RB0, otherwise your interrupts will > never get activated. > Sorry, I guess I should have sent the code after I cleaned up the residual attempts at a solution. Last night I was going to try the PortB interrupt on change feature so that's why it's there. So, now that I've added INTF, still no worky. Something is tripping up the PIC so that it doesn't WANT to go to "int_end." It doesn't matter if I put an implicit "goto int_end" at the beginning of the ISR, it never happens. This is absolutely baffling! -Tim > This will solve your problem. I would suggest also changing the call to > your light1 table as recommended by an earlier post. > > --Andrew > > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu