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: M0_EEPROM_test USBDevice mbed
Fork of USBMouseKeyboard_HelloWorld by
Revision 0:845782b77b0d, committed 2011-11-03
- Comitter:
- samux
- Date:
- Thu Nov 03 15:18:39 2011 +0000
- Child:
- 1:980859c25e92
- Commit message:
Changed in this revision
| USBDevice.lib | Show annotated file Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/USBDevice.lib Thu Nov 03 15:18:39 2011 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/samux/code/USBDevice/#019ce73594da
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Thu Nov 03 15:18:39 2011 +0000
@@ -0,0 +1,14 @@
+#include "mbed.h"
+#include "USBMouseKeyboard.h"
+
+USBMouseKeyboard key_mouse;
+
+int main(void) {
+ while (1) {
+ key_mouse.mediaControl(KEY_VOLUME_DOWN);
+ key_mouse.printf("Hello World from Mbed\r\n");
+ key_mouse.keyCode('s', KEY_CTRL);
+ key_mouse.move(20, 0);
+ wait(1);
+ }
+}
\ No newline at end of file
