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 QEI biquadFilter mbed
Fork of EMG_Controllertest_servo by
Diff: main.cpp
- Revision:
- 6:6cb7c0247560
- Parent:
- 5:bb77e2a6c1e8
- Child:
- 7:eed677b636d3
--- a/main.cpp Tue Oct 25 11:13:13 2016 +0000
+++ b/main.cpp Tue Oct 25 12:07:53 2016 +0000
@@ -76,7 +76,7 @@
Controller.attach(&Ticker_Flag,1/Frequency);
pc.baud(9600);
-
+ led.write(1);
Lift_Input_force = Potmeter.read();
Slide_Input_force = Potmeter2.read();
@@ -92,7 +92,7 @@
ServoPWMpin.period(0.01f); // 0.01 second period
while (true) {
- pc.printf("\n\r%f", Norm_EMG_0);
+ // pc.printf("\n\r%f", Norm_EMG_0);
if (go_emgSample == true){
EMG_filter();
