ya kno it

Dependencies:   Filters

emg.h

Committer:
Thijs12va
Date:
2017-10-31
Revision:
3:cd11e6e02817
Parent:
0:850bf2d90868

File content as of revision 3:cd11e6e02817:

#ifndef EMGJWZ
#define EMGJWZ

#include "mbed.h"
#include "filter.h"

class emg_shield{
    private:
    AnalogIn    emg_in;
    HighPass    highpass;
    ButterLow   butter;
    Notch       notch50;
    Notch       notch100;
    Ticker      tick;
    
    float       Value;
    void        tickFunction();
    
    public:
    emg_shield(PinName pin,float fs);
    float       GetValue();
};

#endif