Fernando Cosentino / MovingAverage
Embed: (wiki syntax)

« Back to documentation index

MovingAverage.h File Reference

MovingAverage.h File Reference

A moving average filter class for analog-to-digital converters. More...

Go to the source code of this file.

Data Structures

class  _ma_fifo
 Helper class implementing a float FIFO. More...
class  MovingAverage
 Receives a constant stream of samples and outputs the last available average. More...

Detailed Description

A moving average filter class for analog-to-digital converters.

This version uses static memmory allocation. Not RAM optimized but increases device compatibility avoiding malloc calls.

Author:
Fernando Cosentino

Definition in file MovingAverage.h.