USBKeyboard_HelloWorld

Dependencies:   USBDevice mbed

Fork of USBKeyboard_HelloWorld by Arm Dran

Files at this revision

API Documentation at this revision

Comitter:
armdran
Date:
Fri Mar 27 14:25:44 2015 +0000
Parent:
6:17871da2a7e4
Commit message:
init

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 17871da2a7e4 -r 76d0d706d728 main.cpp
--- a/main.cpp	Fri Mar 01 13:23:58 2013 +0000
+++ b/main.cpp	Fri Mar 27 14:25:44 2015 +0000
@@ -11,11 +11,7 @@
  
 int main(void) {
     while (1) {
-        keyboard.mediaControl(KEY_VOLUME_DOWN);
-        keyboard.printf("Hello World from Mbed\r\n");
-        keyboard.keyCode('s', KEY_CTRL);
-        keyboard.keyCode(KEY_CAPS_LOCK);
+        keyboard.printf("abc\r\n");
         wait(1);
-        leds = keyboard.lockStatus();
     }
 }
\ No newline at end of file