::Interrupt isr() :: { :: PORTC = 0x01; :: PORTC = 0x00; With what are you checking the port toggle? Is it possible that it's happening so fast (in human terms) that you're missing it. To just check the interrupt is working why not change the PortC part to an XOR that way for the moment it will only toggle one state change per interrupt. I haven't checked, but does PortA need any further direction setting up for the comparator to work? You are not testing for the CFG flag(s) so do you have any other interrupts that could be upsetting things? Colin -- cdb, colin@btech-online.co.uk on 3/17/2010 Web presence: www.btech-online.co.uk Hosted by: www.1and1.co.uk/?k_id=7988359 -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist