Hello People
I have a problem i have being trying toget my head round over the past 4 nights andhave come up with no solution so your help would be very much appreciated.

THE Design
=========
i am designing a data logger around the PIC18F452 as i would need 3 interupt sources

1. RB0 To wakeup the pic then take a reading
2. RB1 To wakeup the pic then take and take user setting( ie
Reading interval etc)
3. RB2 To be used as countdown timer using the 1Hz output
from a DS1307 RTC

THE Problem
=========

My PIC is asleep at least 99% of time , but RB2 interupt wakes it up when the 1hz pulse is applied
Is there another way i can count the pulses from the RTC without waking the PIC Or is there another way i can do this without using interupt on RB2?

The first two interupts works perfectly but i need to include a countdown timer so that i can check when 12 months has elasped


Please Help as i am slowly runningout of time

Best Regards