You can output a high from Do pin, and output Low from the Do pin again and measure its wavelength, f=(1/t)*4096, I think that is the fastest frequency that you can get.What is the max frequency I can achieve with this idea??
by Duane Benson
by Don Wilcher
by Jake Hertz
by Aaron Carman