Initializes the TC5 timer to sample the chosen pin at the chosen frequency.
begin() needs to be called before any other AudioFrequencyMeter library methods.
AudioFrequencyMeter.begin(unsigned int pin, unsigned int sampleRate)
pin: the analog pin to be sampled sampleRate: the frequency expressed in Hz at which the pin must be sampled
Corrections, suggestions, and new documentation should be posted to the Forum.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.