123
Dependencies: mbed-dev-f303 FastPWM3
Diff: Config/hw_config.h
- Revision:
- 49:fcfe9f46657b
- Parent:
- 37:c0f352d6e8e3
--- a/Config/hw_config.h Thu Jan 09 01:42:00 2020 +0000 +++ b/Config/hw_config.h Wed Apr 14 11:31:33 2021 +0000 @@ -6,6 +6,8 @@ #define PIN_W PA_8 #define ENABLE_PIN PA_11 // Enable gate drive pin #define LED PC_5 // LED Pin +#define BRAKE1 PA_4 //brake1 pin +#define BRAKE2 PA_6 //brake2 pin #define I_SCALE 0.02014160156f // Amps per A/D Count #define V_SCALE 0.00884f // Bus volts per A/D Count #define DTC_MAX 0.95f // Max phase duty cycle