1
Dependencies: mbed-dev-f303 FastPWM3
Diff: Config/hw_config.h
- Revision:
- 56:4f73fa55baa0
- Parent:
- 48:74a40481740c
--- a/Config/hw_config.h Tue Nov 19 08:54:35 2019 +0000 +++ b/Config/hw_config.h Thu May 14 10:44:41 2020 +0000 @@ -1,11 +1,11 @@ #ifndef HW_CONFIG_H #define HW_CONFIG_H - -#define PIN_U PA_10 +//Be used in hw_setup.cpp +#define PIN_U PA_8 #define PIN_V PA_9 -#define PIN_W PA_8 -#define ENABLE_PIN PA_11 // Enable gate drive pin -#define LED PC_5 // LED Pin +#define PIN_W PA_10 +#define ENABLE_PIN PC_9 // Enable gate drive pin +#define LED PC_7 // LED Pin #define I_SCALE 0.02014160156f // Amps per A/D Count #define V_SCALE 0.012890625f // Bus volts per A/D Count #define DTC_MAX 0.94f // Max phase duty cycle