Hi all, I am using AT89C52 and I am writing C codes to program my chip. I wanna use the counter to count the number of pulses (around 1-2kHz) in a specific time, say 100ms. Could anyone give me some suggestions for writing the codes? Thank you very much! Dave
May I know can I disable the counter in an ISR (the ISR be called when timer overflow)? And how to read the values in a counter? Thx very much~