ver1

Dependencies:   MX28 mbed

Files at this revision

API Documentation at this revision

Comitter:
JJting
Date:
Wed Sep 12 08:47:34 2018 +0000
Parent:
0:762ec6dc5696
Commit message:
system ID

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 762ec6dc5696 -r ded2ab55c7fb main.cpp
--- a/main.cpp	Wed Aug 29 07:30:11 2018 +0000
+++ b/main.cpp	Wed Sep 12 08:47:34 2018 +0000
@@ -203,7 +203,7 @@
     splitter s7;
 
     s1.j = cmd;
-    s2.j = D_Angle;
+    s2.j = D_Angle*2*PI/4096*100;
     s3.j = f*100;
     s4.j = f_stop*100;
     s5.j = f_flag;