DreamForce 2013 Mini-Hack Challenge Project

Dependencies:   ADXL345 USBDevice filter mbed

Fork of df-minihack-slingshot by Doug Anson

Revision:
6:446635b12af2
Parent:
4:c82d5978d626
Child:
7:991749350315
--- a/main.cpp	Mon Nov 04 17:39:12 2013 +0000
+++ b/main.cpp	Fri Nov 08 02:34:36 2013 +0000
@@ -144,10 +144,7 @@
         float conversion = (incr_deg/incr_pot);
         deg = min_deg + (conversion*(val_pot - min_pot));                
     }
-    
-    // we have to flip the sign of the result
-    deg = -deg;
-    
+        
     // return the calculated degrees
     return deg;
 }