niteshtripathi
Member level 3
hi friends gdmng, i am working on project named "HIGHWAY SPEED CHECKER", i am using 8051 and c language, i have use two obstacle detector using IR whose o/p i have connected at INT0 and INT1, i have used timers 0 in MODE1, as first interrupr is detected i have started the timer, after the detection of second interrupt i have stopped the timer, now i have to calculate the total time, how can i calculate the total count means TH0 and TL0, may be in b/w both interrupts TH0 and TL0 overflows then hows???