USBHostMouse Hello World for ST-Nucleo-F446RE

Dependencies:   F401RE-USBHost mbed

Fork of USBHostMouse_HelloWorld by Samuel Mokrani

Revision:
2:be0aafb2edc2
Parent:
0:c14069b9487e
Child:
7:26cbee9ef684
--- 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())