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: MorseGenerator2 mbed
Revision 0:bc583a42539b, committed 2014-09-17
- Comitter:
- wm
- Date:
- Wed Sep 17 13:34:46 2014 +0000
- Commit message:
- Initial revision
Changed in this revision
diff -r 000000000000 -r bc583a42539b MorseGenerator.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MorseGenerator.lib Wed Sep 17 13:34:46 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/teams/Training/code/MorseGenerator2/#0ad54d10593c
diff -r 000000000000 -r bc583a42539b main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Wed Sep 17 13:34:46 2014 +0000
@@ -0,0 +1,16 @@
+#include "mbed.h"
+#include "MorseGenerator.h"
+
+DigitalOut myled(LED1);
+
+void morse_callback(int val) {
+ myled = val;
+}
+
+int main() {
+ MorseGenerator morse = MorseGenerator(morse_callback);
+
+ while (1) {
+ morse.transmit("CQCQ DE M6SPX");
+ }
+}
diff -r 000000000000 -r bc583a42539b mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Wed Sep 17 13:34:46 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/552587b429a1 \ No newline at end of file