Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 4:9100bf042c3b, committed 2017-10-16
- Comitter:
- seyfrid_L
- Date:
- Mon Oct 16 14:48:33 2017 +0000
- Parent:
- 3:8a883ca891f8
- Commit message:
- blbne to. nevypisuje ako ma
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Oct 16 14:45:50 2017 +0000
+++ b/main.cpp Mon Oct 16 14:48:33 2017 +0000
@@ -39,7 +39,15 @@
begin = t.read_us();
if(begin == 1250)
{
- read();
+ //read();
+ terminal.printf("x y z\n\r");
+ xAxis = acc.getAccX();
+ yAxis = acc.getAccY();
+ zAxis = acc.getAccZ();
+
+
+ terminal.printf("%1.2f, %1.2f, %1.2f,\n\r", xAxis, yAxis, zAxis);
+
t.reset();
}
}