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.
Diff: main.cpp
- Revision:
- 1:4fceb43e2dd3
- Parent:
- 0:adae25491b93
- Child:
- 3:fdefe922ce38
--- a/main.cpp Mon Apr 18 01:14:36 2016 +0000 +++ b/main.cpp Mon Apr 18 18:43:15 2016 +0000 @@ -1,14 +1,22 @@ #include "mbed.h" #include "AoA_Est.h" #include "Phase_Finder.h" +//#include "arm_conv_f32.c" +const float b[51] = {-0.007772, -0.003741, -0.004376, -0.004861, -0.005128, -0.005108, -0.004726, -0.003925, -0.002650, -0.000867, 0.001443, 0.004277, 0.007607, 0.011379, 0.015521, 0.019940, 0.024525, 0.029149, 0.033671, 0.037953, 0.041851, 0.045248, 0.048020, 0.050070, 0.051335, 0.251747, 0.051335, 0.050070, 0.048020, 0.045248, 0.041851, 0.037953, 0.033671, 0.029149, 0.024525, 0.019940, 0.015521, 0.011379, 0.007607, 0.004277, 0.001443, -0.000867, -0.002650, -0.003925, -0.004726, -0.005108, -0.005128, -0.004861, -0.004376, -0.003741, -0.007772}; int main() { int x[2] = { 95, -82 }; int y[2] = { 77, -110 }; + // arm_conv_f32 ( float32_t * pSrcA, + // uint32_t srcALen, + // float32_t * pSrcB, + // uint32_t srcBLen, + // float32_t * pDst + // ) Phase_Finder phase(50000, 900); Phase_Finder phase2(50000, 900); Phase_Finder phase3(50000, 900); - AoA_Est AoA(2, x, y, 900); + AoA_Est AoA(3, x, y, 900); while(1) { }