Hi Im trying to make an frecuencymeter and I need to detect an edge to define the period and then the frecuency.
Im working with STK600 + Atmega2560, I been reading the datasheet to figure out how to do this.
One of the things I need is to use one of the timers as a counter of external inputs (in my case the rising edges). In the datasheet they said how to configure the timer to use an external clock and how to make it count on the low or high state, and even on an edge, they said that it can be done, and it will use the Tn pin as the input.
The thing is that I dont know which is the Tn Pin.
How can I set it up, or to what port I should be looking at.
Sorry for my poor english.
Thanks for you time!