please help me out with a programme for measuring frequency from 1k to 1.5k
Exactly what help do you need?
How far have you already got?
Where are you stuck?
Hint: remember that frequency is the reciprocal of time - so you might want to measure an appropriate time interval, and work-out frequency from that...
well.i ve to measure ontime only....i'm feeding my uc from signal generator for testing purpose but my code is n't working ...can u plz help me out with some efficent code
The most efficient code is quite often _not_ code, but actual hardware.
Have you looked into the possibilities of your timers and/or pwm functions of the chip? Can you start/stop a timer from the outside, with the state change of an input pin?