1

Dependencies:   mbed FastPWM3

Files at this revision

API Documentation at this revision

Comitter:
yezhong
Date:
Tue Mar 22 06:25:38 2022 +0000
Parent:
50:3bda887997f0
Commit message:
1

Changed in this revision

FOC/foc.h Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/FOC/foc.h	Thu Nov 04 08:16:21 2021 +0000
+++ b/FOC/foc.h	Tue Mar 22 06:25:38 2022 +0000
@@ -25,4 +25,5 @@
 void velocity_control(ControllerStruct *controller);
 /*********WYC END 2021.11.04**********/
 
+
 #endif
--- a/main.cpp	Thu Nov 04 08:16:21 2021 +0000
+++ b/main.cpp	Tue Mar 22 06:25:38 2022 +0000
@@ -261,7 +261,7 @@
                     }
                 }     
                 break;
-                
+   ///     wyc////        
             case SPEED_MODE:                                                   // Run SPEED control WYC 2021.11.04
                 if(state_change){
                     enter_speed_mode();
@@ -279,7 +279,7 @@
                     controller.timeout += 1;
                 }
                 break;
-                
+   ////wyc////////             
             case SETUP_MODE:
                 if(state_change){
                     enter_setup_state();