Hello, I have wired up a frequency meter using 89C4051.The signal is connected to P3.4/T0 pin.The circuit runs on 24MHz crystal.Can anyone give me the code of a frequency counter?Thanks in advance...
except that your mistakes aren't trivial: you insisted that a correct piece of code is wrong, and you ask him looking into T0's maximum clock rate when it has nothing to do with what he is trying to do.
in the end, you "justified" all of this on him not naming the variable in a way that you can understand.
you will get more respect if you simply admit to your errors. trying to justify your way out of an obvious mistake is just silly.
you insisted that a correct piece of code is wrong
And you've demonstrated several times over since you popped in here that you don't know a thing about distinguishing a correct piece of code from a bad one.
you will get more respect if
You're grossly mistaken if you think that you, of all people, are the person who should be giving others advice about how to gain respect. If you knew how to do that, you'ld have at least managed to gain some yourself. Guess what: you didn't.