state led / position change

Dependencies:   MMA8451Q

Fork of Accelerometer_example by William Marsh

Files at this revision

API Documentation at this revision

Comitter:
Ivone
Date:
Fri Feb 16 12:19:06 2018 +0000
Parent:
3:ca2e99f6b193
Commit message:
Led positions

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r ca2e99f6b193 -r 42e2706f9847 main.cpp
--- a/main.cpp	Fri Feb 16 11:53:18 2018 +0000
+++ b/main.cpp	Fri Feb 16 12:19:06 2018 +0000
@@ -70,7 +70,7 @@
                             
                             }
        
-        //pc.printf("X:%1.2f ,Y:%1.2f ,Z:%1.2f\n\r", x,y,z);
+        pc.printf("X:%1.2f ,Y:%1.2f ,Z:%1.2f\n\r", x,y,z);