MovingAverage template

Dependents:   trms_helloworld

Fork of MoyenneMobile by Alexandre Proulx

Files at this revision

API Documentation at this revision

Comitter:
fblanc
Date:
Tue Jul 22 15:01:41 2014 +0000
Parent:
1:b310d132db09
Child:
3:54b3249b6ad8
Commit message:
AnalogIn_Diff

Changed in this revision

MovingAverage.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/MovingAverage.cpp	Mon Jul 07 12:27:57 2014 +0000
+++ b/MovingAverage.cpp	Tue Jul 22 15:01:41 2014 +0000
@@ -1,25 +1,1 @@
-/*****************************************************/
-/*           _                              _        */
-/*     /\   | |                            (_)       */
-/*    /  \  | | ___  __ _ _ __ _____      ___ _ __   */
-/*   / /\ \ | |/ _ \/ _` | '__/ _ \ \ /\ / / | '_ \  */
-/*  / ____ \| |  __/ (_| | | | (_) \ V  V /| | | | | */
-/* /_/    \_\_|\___|\__, |_|  \___/ \_/\_/ |_|_| |_| */
-/*                   __/ |                           */
-/*                  |___/                            */
-/*                          Created on April 2013    */
-/*****************************************************/
-
-
-/*
-
-for(int i = 0; i < FILTRE_RANGE; i++) {
-        FiltreMobile[i] = cmd[0];
-    }
-    
-    Temp = Temp - FiltreMobile[Temp_next]/FILTRE_RANGE + cmd[0]/FILTRE_RANGE;
-    FiltreMobile[Temp_next++] = cmd[0];
-
-    Temp_next = Temp_next&0x07;
-}*/
 #include "MovingAverage.h"