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:3687c7cb0648
- Parent:
- 0:3843c26cd5fd
- Child:
- 2:60fc72e8ff66
--- 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); } }