Plug Function waveform into port A3 of Arduino Mega board, Ground to GND. Can view FFT results in Serial port at 115200 baud. Prints all Amplitude data first, then all of the corresponding frequency ...
KISS FFT converts a time-domain signal (a series of samples from a microphone, ADC, accelerometer, etc.) into the frequency domain, revealing which frequencies are present and how strong each one is.