Example code for FXOS8700CQ library

Dependencies:   FXOS8700CQ mbed

Files at this revision

API Documentation at this revision

Comitter:
eencae
Date:
Wed Dec 20 13:18:31 2017 +0000
Parent:
0:a2ca34fbe933
Commit message:
Updated mbed library

Changed in this revision

FXOS8700CQ.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/FXOS8700CQ.lib	Tue Jan 31 19:05:19 2017 +0000
+++ b/FXOS8700CQ.lib	Wed Dec 20 13:18:31 2017 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/eencae/code/FXOS8700CQ/#f66eda6a492a
+https://developer.mbed.org/users/eencae/code/FXOS8700CQ/#1a98f69712e8
--- a/main.cpp	Tue Jan 31 19:05:19 2017 +0000
+++ b/main.cpp	Wed Dec 20 13:18:31 2017 +0000
@@ -25,9 +25,9 @@
         
         // print each struct member over serial
         printf("ax = %f ay = %f az = %f | mx = %f my = %f mz = %f\n"
-               ,values.ax, values.ay, values.az
-               ,values.mx, values.my, values.mz);
-        
-        wait(0.5);
+              ,values.ax, values.ay, values.az
+              ,values.mx, values.my, values.mz);
+                
+        wait(1.0);
     }
 }
\ No newline at end of file
--- a/mbed.bld	Tue Jan 31 19:05:19 2017 +0000
+++ b/mbed.bld	Wed Dec 20 13:18:31 2017 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/ad3be0349dc5
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/e7ca05fa8600
\ No newline at end of file