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 biquadFilter mbed
Fork of EMGV5 by
Revision 0:32bb76391d89, committed 2013-05-23
- Comitter:
- vsluiter
- Date:
- Thu May 23 10:59:03 2013 +0000
- Child:
- 1:db54d9412d18
- Commit message:
- EMG demo program for KL25Z with EMG shield Olimex
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Thu May 23 10:59:03 2013 +0000
@@ -0,0 +1,14 @@
+#include "mbed.h"
+
+AnalogIn emg0(PTB0);
+PwmOut red(LED_RED);
+
+int main()
+{
+ while(1)
+ {
+ red = emg0;
+ wait(0.01);
+
+ }
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu May 23 10:59:03 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/b3110cd2dd17 \ No newline at end of file
