to send emg signal to motor with test programm
Dependencies: HIDScope biquadFilter mbed
Fork of EMGvoorjan by
Diff: main.cpp
- Revision:
- 22:a85b568a83e5
- Parent:
- 21:77998ce2c0dd
--- a/main.cpp Fri Oct 20 11:22:11 2017 +0000 +++ b/main.cpp Fri Oct 20 11:29:43 2017 +0000 @@ -27,9 +27,9 @@ } BiQuadChain bqc; -BiQuad bq1( 0.6844323315947305,1.368864663189461, 0.6844323315947305,1.2243497755555954,0.5133795508233265); -BiQuad bq2( 0.6844323315947306, -1.3688646631894612, 0.6844323315947306, -1.2243497755555959, 0.5133795508233266); -BiQuad bq3( 0.7566897754116633, -1.2243497755555959, 0.7566897754116633, -1.2243497755555959, 0.5133795508233266); +BiQuad bq1( 0.6844323315947305,1.368864663189461, 0.6844323315947305,1.2243497755555954,0.5133795508233265); //lp +BiQuad bq2( 0.8664196904854168, -1.7328393809708336, 0.8664196904854168, -1.7051848034569674, 0.7604939584846998); //hp +BiQuad bq3( 0.7566897754116633, -1.2243497755555959, 0.7566897754116633, -1.2243497755555959, 0.5133795508233266); //notch Ticker emgSampleTicker; AnalogIn emg( A0 );