Jorick Leferink
/
programma_filter
programma voor filter
Fork of BMT-K9-Groep7 by
Revision 1:3687c7cb0648, committed 2013-10-17
- Comitter:
- vsluiter
- Date:
- Thu Oct 17 09:23:51 2013 +0000
- Parent:
- 0:3843c26cd5fd
- Child:
- 2:60fc72e8ff66
- Commit message:
- Mijn eigen fout gecorrigeerd
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Oct 17 08:29:57 2013 +0000 +++ b/main.cpp Thu Oct 17 09:23:51 2013 +0000 @@ -64,7 +64,7 @@ { sig_out_biceps = sqrt(square_biceps/count); mean_biceps = sum_biceps/count; count= 0; square_biceps = 0; sum_biceps = 0; // en neem de RMS als er genoeg zijn geteld, stuur die door, en reset sqaure en count - if(pc.rxBufferGetSize(0)-pc.rxBufferGetCount() > 30) + if(pc.txBufferGetSize(0)-pc.txBufferGetCount() > 30) pc.printf("%.6f\n",sig_out_biceps); } }