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: F401RE-USBHost mbed
Fork of USBHostMouse_HelloWorld by
Revision 2:be0aafb2edc2, committed 2013-03-13
- 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())
