Ashwin Athani
/
mX_USB_HID
mX mbed BaseBoard USB HID
Diff: main.cpp
- Revision:
- 0:093612081f64
diff -r 000000000000 -r 093612081f64 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Dec 08 06:30:25 2010 +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); + } +}