Elektronikprojekt Grupp 13 / Mbed OS test_fft_grp13

Dependencies:   mbed-dsp

Fork of mbed-os-example-blinky by Elektronikprojekt Grupp 13

Revision:
62:1e5508bb8f16
Parent:
61:35a973447ae6
Child:
63:f2972bba6f01
--- a/main.cpp	Mon Apr 10 11:23:33 2017 +0000
+++ b/main.cpp	Mon Apr 10 11:27:17 2017 +0000
@@ -8,8 +8,7 @@
 float magnitudes[FFT_SIZE];
 //int SAMPLE_RATE_HZ = 10000;
 
-float testData[FFT_SIZE/2];       //vår test data
-//float testData = {10, 20, 30, 40, 50, 60, 70, 80, 10, 20, 30, 40, 50, 60, 70, 80,10, 20, 30, 40, 50, 60, 70, 80, 10, 20, 30, 40, 50, 60, 70, 80};
+float testData[] = {10, 20, 30, 40, 50, 60, 70, 80, 10, 20, 30, 40, 50, 60, 70, 80,10, 20, 30, 40, 50, 60, 70, 80, 10, 20, 30, 40, 50, 60, 70, 80};
 
 void samplingBegin(){
     sampleCounter = 0;