base program for tilt measurement
Dependencies: COG4050_ADT7420 ADXL362
Fork of COG4050_adxl355_adxl357-ver2 by
Revision 5:05af38b6375a, committed 2018-08-08
- Comitter:
- vtoffoli
- Date:
- Wed Aug 08 12:13:05 2018 +0000
- Parent:
- 4:23b53636b576
- Child:
- 6:45d2393ef468
- Commit message:
- refresh
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);
}
}
