ya kno it
Diff: emg.h
- Revision:
- 0:850bf2d90868
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/emg.h Wed Oct 25 12:35:29 2017 +0000 @@ -0,0 +1,24 @@ +#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 \ No newline at end of file