Now I am getting the error
RunningMedian.cpp:16: error: 'template<class T, int N> class RunningMedian' used without template parameters
RunningMedian.cpp:16: error: ISO C++ forbids declaration of 'RunningMedian' with no type
RunningMedian.cpp: In function 'int RunningMedian(uint8_t)':
RunningMedian.cpp:16: error: 'int RunningMedian(uint8_t)' redeclared as different kind of symbol
RunningMedian.h:16: error: previous declaration of 'template<class T, int N> class RunningMedian'
RunningMedian.cpp:18: error: '_size' was not declared in this scope
RunningMedian.cpp:18: error: 'MEDIAN_MIN' was not declared in this scope
RunningMedian.cpp:18: error: 'MEDIAN_MAX' was not declared in this scope
RunningMedian.cpp:18: error: 'constrain' was not declared in this scope
I have the .cpp/.h files from
http://arduino.cc/playground/Main/RunningMedianin two separate tabs with the sample code from the same place.
Thanks.