this program will do FFT on an audio signal
Dependencies: mbed Grove_LCD_RGB_Backlight UIT_FFT_Real
Diff: main.cpp
- Revision:
- 1:a806f3aacf1f
- Parent:
- 0:c7f159ed0bc3
--- a/main.cpp Mon Apr 15 09:45:45 2019 +0000 +++ b/main.cpp Mon Apr 15 10:08:19 2019 +0000 @@ -14,7 +14,7 @@ void sampling_interrup() { - samples[i] = 1024*micro.read(); + samples[i] = 1024*micro.read(); // 1024 : ADC of the sound sensor i++; if (i >= FFT_len*2) { sampler.detach();