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.
Revision 0:3ba4def65f1a, committed 2014-09-23
- Comitter:
- gerardo_carmona
- Date:
- Tue Sep 23 21:01:34 2014 +0000
- Commit message:
- Mouse b?sico
Changed in this revision
diff -r 000000000000 -r 3ba4def65f1a USBDevice.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/USBDevice.lib Tue Sep 23 21:01:34 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/USBDevice/#5bf05f9b3c7b
diff -r 000000000000 -r 3ba4def65f1a main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Sep 23 21:01:34 2014 +0000 @@ -0,0 +1,18 @@ +#include "mbed.h" +#include "USBMouse.h" + +USBMouse mouse; +DigitalOut myled(LED3); // Led On + +int main() { + while(1) { + mouse.move(25, 0); // x, y + wait(1); + mouse.move(0, 25); + wait(1); + mouse.move(-25, 0); + wait(1); + mouse.move(0, -25); + wait(1); + } +}
diff -r 000000000000 -r 3ba4def65f1a mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Tue Sep 23 21:01:34 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/552587b429a1 \ No newline at end of file