![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
this program will do FFT on an audio signal
Dependencies: mbed Grove_LCD_RGB_Backlight UIT_FFT_Real
Revision 1:a806f3aacf1f, committed 2019-04-15
- Comitter:
- SBACCARI
- Date:
- Mon Apr 15 10:08:19 2019 +0000
- Parent:
- 0:c7f159ed0bc3
- Commit message:
- add 1024 ADC comment
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r c7f159ed0bc3 -r a806f3aacf1f main.cpp --- 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();