USER PASS
/
USBMouse_test
test
Fork of USBMouse by
Diff: main.cpp
- Revision:
- 0:df124f79944a
- Child:
- 2:554ad697ebbb
diff -r 000000000000 -r df124f79944a main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Oct 22 13:57:14 2009 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" +#include "USBMouse.h" + +DigitalOut led(LED1); +USBMouse mouse; + +int main() { + while(1) { + mouse.move(10, 5); + led = !led; + wait(4); + } +}