> execute a small flashing LED countdown (one pulse each for 5 seconds) > and than modulate an IR LED for 20 seconds. I think I have the TMR0 > interrupt figured out and I can execute seconds timing and > LED flashing. Are you deliberately making trouble for yourself? If not: forget interrupts for this project. When you say 'modulate the IR LED for 20 seconds': if you use standard IR receivers you must insert gaps in the tranmission, otherwise you will saturate the receivers. Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist