123
Dependencies: mbed-dev-f303 FastPWM3
Diff: structs.h
- Revision:
- 49:fcfe9f46657b
- Parent:
- 37:c0f352d6e8e3
--- a/structs.h Thu Jan 09 01:42:00 2020 +0000 +++ b/structs.h Wed Apr 14 11:31:33 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;