here am designing a board for door interlocking system. if we press a button, we can open the door. if the door is kept open for 15 sec then a buzzer should be blown. so i need a timer interrupt program which runs for 20secs.
so please any one help me out with some particular example.