USBHostHub Hello World

Dependencies:   USBHost mbed

Revision:
1:b6239a365c4a
Parent:
0:b755444e7ddd
--- a/main.cpp	Tue Mar 12 17:39:44 2013 +0000
+++ b/main.cpp	Wed Mar 13 10:37:38 2013 +0000
@@ -40,7 +40,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())