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.
Dependencies: HIDScope mbed MODSERIAL
main.cpp
- Committer:
- Bartvaart
- Date:
- 2015-10-07
- Revision:
- 6:8197f9446daf
- Parent:
- 5:b400209df739
- Child:
- 7:040591b3f019
File content as of revision 6:8197f9446daf:
#include "mbed.h"
#include "encoder.h"
#include "Filterdesigns.h"
Ticker EMGticker;
//Sample frequentie
double Fs = 500; //Hz
double t = 1/ Fs; // voor EMGticker
void EMGfilter(){
Filterdesign1();
}
int main(){
EMGticker.attach(&EMGfilter, t); //500Hz
while(1){}
}