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.
Diff: main.cpp
- Revision:
- 1:06020d654386
- Parent:
- 0:ea609f08f075
- Child:
- 2:434dcfb116db
diff -r ea609f08f075 -r 06020d654386 main.cpp
--- a/main.cpp Sat Aug 08 10:44:11 2020 +0000
+++ b/main.cpp Sat Aug 08 10:45:06 2020 +0000
@@ -22,7 +22,7 @@
while (1){
pc.printf(" X%f Y%f Z%f angle%.2f degrees\r", MMA.x(),
MMA.y(), MMA.z(), calculateAngle(MMA.x(), MMA.y(), MMA.z()));
-
+ //i have used \r to repeat the function and keep the tera term tidy
wait(1);
}
}