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 QEI biquadFilter mbed
Fork of Project_script_union_final by
Revision 15:be67b090b64a, committed 2018-10-22
- Comitter:
- MarijkeZondag
- Date:
- Mon Oct 22 09:35:55 2018 +0000
- Parent:
- 14:fa09dae67390
- Child:
- 16:5f7196ddc77b
- Commit message:
- zonder errors;
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Oct 22 09:19:09 2018 +0000
+++ b/main.cpp Mon Oct 22 09:35:55 2018 +0000
@@ -287,7 +287,9 @@
filter_tick.attach(&emg_filtered,T); //EMG signals filtered + moving average every T sec.
button1.rise(switch_to_calibrate); //Switch state of calibration (which muscle)
+ wait(0.2f);
button2.rise(calibrate); //calibrate threshold for 3 muscles
+ wait(0.2f);
pwmpin1.period_us(60); //60 microseconds PWM period, 16.7 kHz
