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.
Fork of SignalNumber2 by
signalnumber.h
- Committer:
- DBerendsen
- Date:
- 2017-11-02
- Revision:
- 6:7f6e2d293154
- Parent:
- 5:f3ddc3a7b292
File content as of revision 6:7f6e2d293154:
#ifndef _SIGNALNUMBER_H_INCLUDED_
#define _SIGNALNUMBER_H_INCLUDED_
#include "mbed.h"
class SignalNumber
{
public:
/**
*Constructor
*/
SignalNumber(void);
float calibrate(const int n, float input);
float getmeanLeft(const int n, float input);
float getmeanRight(const int n, float input);
// float getmeanMode(const int n, float input); // In progess
int getnumberLeft(const int n, const int action, float input);
int getnumberRight(const int n, const int action, float input);
// int getmode(const int n, const int action, float input); // In progress
private:
};
#endif
