Hellooo this is Pavan Phadnis i nedd help to develop a tachometer which is used to measure RPM. please send me any code related to measuring no of pulses through P3.2 .
waiting for earlies reply..
Pavan
"i allready written but it is not working good thats why i want to try diffrent code"
Don't give up so easily!
If it's "not working good", try to determine why!
Writing the code is just one step - you need to learn to debug & develop it, analyse its performance, tune/optimise it, etc, etc...
In what way is it "not working good"? Being able to clearly & precisely define the problem is 90% of the job!
Yaaa i will do that....... thanks for ur help..
Hi allll i did it ,now i am able to display no of counts of pulses,but it is in HEX.so i want to display it in decimal .Now i am gettings counts in TH0 & TL0 . so please send me how to disply these valuse in decimal......
waiting for ur reply.....
Did you ever do number base (radix) conversion at school?
The principle is exactly the same whether you're doing it manually with pencil & paper, or programming it in 'C'...
Hint: think abut dividing by the radix...