Ikhee Jo / T-Motor_AK80_BaseCode

Dependencies:   mbed-dev-f303 FastPWM3

Revision:
5:51c6560bf624
Parent:
1:b8bceb4daed5
Child:
7:dc5f27756e02
--- a/Transforms/Transforms.cpp	Sat Mar 12 08:04:51 2016 +0000
+++ b/Transforms/Transforms.cpp	Sat Mar 12 18:45:22 2016 +0000
@@ -9,6 +9,8 @@
     float sine = sin(theta);
     *d = alpha*cosine - beta*sine;
     *q = -beta*cosine - alpha*sine;
+    //*d = alpha*cosine + beta*sine;
+    //*q = beta*cosine - alpha*sine;
     //DAC->DHR12R1 = (int) (*q*49.648f) + 2048;
     //DAC->DHR12R1 = (int) (*q*2048.0f) + 2048;
     }