> > Hi KPL, what frequency are you trying to measure, and which PIC > you fancy using. It would help us to help you if you tell us. As Gerhard > pointed out, there are different methods for different ranges. If you go > in through CKI (counting with hardware), tens of MHz is possible. > Lower frequencies can be done in software, eg timers > As I said in first post, now I'm trying PIC16F84, but looks like simple things do not differ much for other midrange PICs? About range - I would like to build just an ordinary F counter, for general usage. Not interested much in frequencies below 1hz, but i would like to reach maximum upper level that is reacheble without prescaler. Possibly later I could use prescaler too, I have some MB1502 lying around, they have prescaler inside. But the problem is, I want at least to understand well what I am doing, not just copy someone's design :) I just found this: http://www.best-microcontroller-projects.com/frequency-counter.html That makes sense. -- KPL -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist