Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed-dsp
Fork of mbed-os-example-blinky by
Diff: main.cpp
- Revision:
- 61:35a973447ae6
- Parent:
- 60:a83a5a34050b
- Child:
- 62:1e5508bb8f16
diff -r a83a5a34050b -r 35a973447ae6 main.cpp
--- a/main.cpp Mon Apr 10 11:19:45 2017 +0000
+++ b/main.cpp Mon Apr 10 11:23:33 2017 +0000
@@ -8,8 +8,8 @@
float magnitudes[FFT_SIZE];
//int SAMPLE_RATE_HZ = 10000;
-//static const 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[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};
void samplingBegin(){
sampleCounter = 0;


