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 MODSERIAL mbed-dsp mbed
Fork of emg_filter2 by
Diff: main.cpp
- Revision:
- 21:133e9390a42a
- Parent:
- 20:f7d281e3112b
--- a/main.cpp Mon Sep 29 13:08:57 2014 +0000
+++ b/main.cpp Wed Oct 01 12:25:06 2014 +0000
@@ -1,13 +1,10 @@
#include "mbed.h"
-#include "MODSERIAL.h"
#include "HIDScope.h"
#include "arm_math.h"
//Define objects
AnalogIn emg0(PTB1); //Analog input
-Ticker log_timer;
-MODSERIAL pc(USBTX,USBRX);
HIDScope scope(2);
arm_biquad_casd_df1_inst_f32 lowpass;
@@ -59,7 +56,7 @@
int main()
{
-
+ Ticker log_timer;
//set up filters. Use external array for constants
arm_biquad_cascade_df1_init_f32(&lowpass,1 , lowpass_const, lowpass_states);
arm_biquad_cascade_df1_init_f32(&highpass,1 ,highpass_const,highpass_states);
