CCW CW Control BLDC

Dependencies:   mbed mbed-rtos

Files at this revision

API Documentation at this revision

Comitter:
oguro
Date:
Tue Nov 17 01:31:35 2020 +0000
Parent:
1:333d2cdd26d0
Commit message:
New forward Revers sine Wave 2020 11 17

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 333d2cdd26d0 -r f23351f7af0b main.cpp
--- a/main.cpp	Sat Nov 14 02:43:13 2020 +0000
+++ b/main.cpp	Tue Nov 17 01:31:35 2020 +0000
@@ -315,8 +315,8 @@
  /************************************************************/        
          Speed=60*(1/(7.0*usi*1E-6));
        //pc.printf("%.3f , %.3f \r" ,Speed ,Vr_adc);
-        // UP=HALL_Ui;VP=HALL_Vi;WP=HALL_Wi;
-        // pc.printf("%d , %d , %d \r" , UP,VP,WP);
+         UP=HALL_Ui;VP=HALL_Vi;WP=HALL_Wi;
+         pc.printf("%d , %d , %d \r" , UP,VP,WP);
  
    }  
 }
\ No newline at end of file