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: HIDScope MODSERIAL QEI TextLCD mbed
Fork of TotalControlEmg2 by
Diff: Meanvalue.cpp
- Revision:
- 9:1655d67d8a53
- Parent:
- 5:b400209df739
- Child:
- 10:897db0bdb2fe
diff -r a8c66bd140f8 -r 1655d67d8a53 Meanvalue.cpp
--- a/Meanvalue.cpp Wed Oct 07 12:47:22 2015 +0000
+++ b/Meanvalue.cpp Wed Oct 07 13:48:19 2015 +0000
@@ -1,7 +1,8 @@
#include "Meanvalue.h"
+//gemiddelde bepalen
-double Meanvalue(double y, double &sum, int &a, double &ymean, int delay){
+double Meanvalue(double y, double &sum, double &ymean, int &a, int delay){
sum = sum + y;
a = a + 1;
@@ -16,4 +17,7 @@
else{
return ymean;
}
- }
\ No newline at end of file
+ }
+
+//double Meansmooth(double y, double &sum, int &a, double &ymean, int delay){
+ // }
\ No newline at end of file
