123

Dependencies:   mbed-dev-f303 FastPWM3

Revision:
50:9d762c5d05c3
Parent:
37:c0f352d6e8e3
--- a/structs.h	Thu Jan 09 01:42:00 2020 +0000
+++ b/structs.h	Mon Mar 29 07:08:14 2021 +0000
@@ -9,6 +9,8 @@
 typedef struct{
     DigitalOut *enable;
     DigitalOut *led;
+    DigitalIn *brake1;//shaorui add for braking
+    DigitalIn *brake2;//shaorui add for braking
     FastPWM *pwm_u, *pwm_v, *pwm_w;
     } GPIOStruct;