In-air mouse using Freedom board

Dependencies:   MMA8451Q TSI USBDevice mbed

Fork of USBMouse_HelloWorld by Samuel Mokrani

First project using (and testing out) the Freescale Freedom board.

Plug the USB (not SDA) connector into your machine.

Tilt the board to move the cursor, and use the touch sensor for left and right click.

Files at this revision

API Documentation at this revision

Comitter:
samux
Date:
Sun Oct 14 12:39:53 2012 +0000
Parent:
2:e7b766501add
Child:
4:26ecbbc27530
Commit message:
use the latest USBDevice library

Changed in this revision

USBDevice.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
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/USBDevice.lib	Wed Nov 30 11:00:01 2011 +0000
+++ b/USBDevice.lib	Sun Oct 14 12:39:53 2012 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/samux/code/USBDevice/#65a34d6b5e22
+http://mbed.org/users/mbed_official/code/USBDevice/#6d85e04fb59f
--- a/main.cpp	Wed Nov 30 11:00:01 2011 +0000
+++ b/main.cpp	Sun Oct 14 12:39:53 2012 +0000
@@ -12,6 +12,7 @@
     while (1) {
         x = cos((double)angle*3.14/180.0)*radius;
         y = sin((double)angle*3.14/180.0)*radius;
+        
         mouse.move(x, y);
         angle += 3;
         wait(0.001);
--- a/mbed.bld	Wed Nov 30 11:00:01 2011 +0000
+++ b/mbed.bld	Sun Oct 14 12:39:53 2012 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/7110ebee3484
+http://mbed.org/users/mbed_official/code/mbed/builds/7110ebee3484
\ No newline at end of file