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:
 - 9:cc9c6244cb76
 - Parent:
 - 8:cd8edcd62c54
 - Child:
 - 10:e3e8d52b8083
 
diff -r cd8edcd62c54 -r cc9c6244cb76 main.cpp
--- a/main.cpp	Tue May 14 13:31:11 2019 +0000
+++ b/main.cpp	Tue May 14 13:34:13 2019 +0000
@@ -61,7 +61,6 @@
     float phis=0.00;    //sudut servo 0 (dlm derajat)
     
     pc.baud(9600);
-    pc.printf("Masukkan koordinat x,y dan z berurutan : ");
     SL3_1.calibrate(0.001,120);    //harus kalibrasi (0.001,120)
     SL3_2.calibrate(0.001,120);
     SL3_3.calibrate(0.001,120);
@@ -73,6 +72,7 @@
         SL3_3.position((awal-51)*1.14);
         SL3_base.position(awal);     // B E L U M   D I K A L I B R A S I
         
+        pc.printf("Masukkan koordinat x,y dan z berurutan : ");
         pc.scanf("%f",&xt);     //input komponen x
         pc.scanf("%f",&yt);     //input komponen y (rotasi base)
         pc.scanf("%f",&zt);     //input komponen z (tinggi)