Here's a crazy thought; if you have 2 interrupts doing virtually the same thing, why not do both functions with only 1 interrupt? If your 100 Hz mains interrupt is clocking the same as your Timer 1, can you put your Timer 1 code in your ExtInt interrupt?
Bookmarks