.
Fork of Cntrlol_Lib by
Revision 8:32445aab4589, committed 2018-10-26
- Comitter:
- altb
- Date:
- Fri Oct 26 12:40:51 2018 +0000
- Parent:
- 7:15ea5021288d
- Commit message:
- corrected bugs
Changed in this revision
GPAf.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 15ea5021288d -r 32445aab4589 GPAf.cpp --- a/GPAf.cpp Fri Oct 26 12:31:41 2018 +0000 +++ b/GPAf.cpp Fri Oct 26 12:40:51 2018 +0000 @@ -97,7 +97,7 @@ autor: M.E. Peter */ -#include "GPA.h" +#include "GPAf.h" #include "mbed.h" #include "math.h" #define pi 3.14159f @@ -275,7 +275,7 @@ printf(" fexc[Hz] |Gyu| ang(Gyu) |Gye| ang(Gye) |E| |U| |Y|\r\n"); printLine(); } - //printf("%11.3e %10.3e %10.3e %10.3e %10.3e %10.3e %10.3e %10.3e\r\n", (float)fexc, absGyu, angGyu, absGye, angGye, (float)Aexc, Umag, Ymag); + printf("%11.3e %10.3e %10.3e %10.3e %10.3e %10.3e %10.3e %10.3e\r\n", (float)fexc, absGyu, angGyu, absGye, angGye, (float)Aexc, Umag, Ymag); } else { jj += 1; } @@ -315,7 +315,7 @@ wk = 0.5f - 0.5f*cos(2.0f*pi*((float)jj-1.0f)/(float)Nmeas); } -void GPA::printLine() +void GPAf::printLine() { printf("-----------------------------------------------------------------------------------------\r\n"); }