base program for tilt measurement

Dependencies:   COG4050_ADT7420

Fork of COG4050_adxl355_adxl357 by ADI_CAC

Revision:
5:05af38b6375a
Parent:
4:23b53636b576
--- a/main.cpp	Wed Aug 08 11:57:16 2018 +0000
+++ b/main.cpp	Wed Aug 08 12:13:05 2018 +0000
@@ -31,7 +31,7 @@
         y = accl.scany();
         z = accl.scanz();
         t = accl.scant();
-        pc.printf("%f \t %u \t %u \t %u \r\n" ,x,y,z,t);
+        pc.printf("%u \t %u \t %u \t %u \r\n" , x,y,z,t);
         wait(1.0);
   }
 }