USBHostMouse Hello World

Dependencies:   USBHost mbed

Files at this revision

API Documentation at this revision

Comitter:
samux
Date:
Wed Mar 13 10:26:19 2013 +0000
Parent:
1:81bb6aab8be3
Child:
3:ad35780eee75
Commit message:
Use latest USBHost lib

Changed in this revision

USBHost.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
--- a/USBHost.lib	Tue Mar 12 17:28:45 2013 +0000
+++ b/USBHost.lib	Wed Mar 13 10:26:19 2013 +0000
@@ -1,1 +1,1 @@
-https://mbed.org/users/mbed_official/code/USBHost/#b320d68e98e7
+https://mbed.org/users/mbed_official/code/USBHost/#e48791a1ef18
--- a/main.cpp	Tue Mar 12 17:28:45 2013 +0000
+++ b/main.cpp	Wed Mar 13 10:26:19 2013 +0000
@@ -17,7 +17,7 @@
             Thread::wait(500);
     
         // when connected, attach handler called on mouse event
-        mouse.attach(onMouseEvent);
+        mouse.attachEvent(onMouseEvent);
         
         // wait until the mouse is disconnected
         while(mouse.connected())