d

Dependencies:   AX12_final MX106_not_working comunication_1 mbed-dev

Fork of MX106-finaltest by Team DIANA

Revision:
5:6514c2ee38f5
Parent:
3:d2c3ac534549
--- a/main.cpp	Fri Apr 29 13:28:38 2016 +0000
+++ b/main.cpp	Mon May 02 16:51:52 2016 +0000
@@ -25,5 +25,7 @@
    pc.printf("%f \n",  MX106.GetTemp()); //utile come test di comunicazione 
    
     //la posizione è espressa in gradi da 0 a 300
-   MX106.SetGoal(30, 1);
+   MX106.SetGoal(0, 1);
+   wait(1);
+   MX106.SetGoal(300, 1);
 }
\ No newline at end of file