Frequency of Arduino mega

Hey every one
i just have a one question
what is the highest frequency an Arduino mega can read ?!

According to Nyquist that would be the processor frequency divided by 2.

Depends a lot on what kind of measurement (analog is much slower than digital) and what approach you're using to measure it. We could advise further, but not without knowing more about what you're trying to measure.

According to Nyquist that would be the processor frequency divided by 2.

Nyquist's theorem says that you can read the a waveform at half of the SAMPLING FREQUENCY.
There aren't any circumstances where the Mega can SAMPLE at anything close to its processor frequency.

westfw:
There aren't any circumstances where the Mega can SAMPLE at anything close to its processor frequency.

Counter. Paul Stoffregen has a nice library...

https://www.pjrc.com/teensy/td_libs_FreqCount.html