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.
analogAverager.h
- Committer:
- masterkookus
- Date:
- 2019-10-02
- Revision:
- 0:13ce3869e3dd
- Child:
- 1:b645a3714368
File content as of revision 0:13ce3869e3dd:
#ifndef MKANAAVG_H #define MKANAAVG_H class analogAverager { float minVal; float maxVal; bool maxLim; bool minLim; unsigned int sampleNum; float sampleVals[10]; float averageVals[2]; float nomVal; public: analogAverager(float, bool, float, bool, float); void putVal(float); float getAvg(void); void resetNum(void); }; #endif