MIT Motor FOC Control
Diff: Config/hw_config.h
- Revision:
- 20:bf9ea5125d52
- Child:
- 22:60276ba87ac6
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Config/hw_config.h Thu Mar 02 15:31:23 2017 +0000 @@ -0,0 +1,13 @@ +#ifndef HW_CONFIG_H +#define HW_CONFIG_H + +#define PIN_U PA_10 +#define PIN_V PA_9 +#define PIN_W PA_8 +#define ENABLE_PIN PA_11 +#define I_SCALE 0.02014160156f // Amps per A/D Count +#define DTC_MAX 0.935f +#define DTC_MIN 0.065f + + +#endif