1 #ifndef RunningAverage_h
2 #define RunningAverage_h
4 // FILE: RunningAverage.h
5 // AUTHOR: Rob dot Tillaart at gmail dot com
6 // PURPOSE: RunningAverage library for Arduino
7 // URL: http://arduino.cc/playground/Main/RunningAverage
8 // HISTORY: See RunningAverage.cpp
10 // Released to the public domain
13 // backwards compatibility
18 #define RUNNINGAVERAGE_LIB_VERSION "0.2.04"
31 void fillValue(float, int);
35 float getElement(uint8_t idx);
36 uint8_t getSize() { return _size; }
37 uint8_t getCount() { return _cnt; }