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:
- 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;