We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello I use C51 with crystal 11.0592Mhz , my task is i want use timer/counter as event counter and display counter value the maximum count in 1 sec is 2500. is this possible with C51 if yes than please give some idea how it done or if you have sample code than please send me. Thank you.
at 1450Hz after 1 sec it give 1450 counter value and at 1500Hz it give 418 counter value.yes for 1450Hz or lower than 1450Hz it work fine. and ya i'm nothing do with roll over , if you have idea how i resolve roll over than please give some hint. And Thanks for Rply.
And is there any ISR for counter. e.g. Timer0 we have isr void t0isr (void) interrupt 3 ? i have write the timer ISR for Timer0 but it not execute because Timer1 use as counter.