slipstick:
So you changed "samplingFrequency = 100; //Hz, must be less than 10000 due to ADC" to 16000? Do you really think that 16000 is less than 10000?BTW even if you could use a sampling frequency of 16000 that would only work for audio frequencies up to 8000Hz. Anything over that present in the signal could cause all sorts of problems.
Steve
I change samplingfrequency to another number also 8000
But this source can not show correctly sound frequnecy
I use a ton with 1000 hz but this source show 2000 hz!