Airmouse project for MPOA

Dependencies:   mbed FXOS8700Q USBDEVICE

Files at this revision

API Documentation at this revision

Comitter:
miroslavklein
Date:
Mon Jan 20 22:04:56 2020 +0000
Parent:
0:cafb23b6a1e5
Commit message:
Public depository for MPOA project - Airmouse

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r cafb23b6a1e5 -r 94aad97c077a main.cpp
--- a/main.cpp	Mon Jan 20 21:32:36 2020 +0000
+++ b/main.cpp	Mon Jan 20 22:04:56 2020 +0000
@@ -35,7 +35,7 @@
         
         accY = acc_data.x;
         accY *= Ykoef;
-        y = - (int16_t) accY;
+        y =  (int16_t) accY;
         
         
         accX = acc_data.y;