Austin Brown
/
ESCmk2_Inductance
Inductance Testing Code
Fork of CurrentModeSine by
Diff: Inverter/inv_config.h
- Revision:
- 1:64b881306f6f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Inverter/inv_config.h Thu Oct 11 04:13:45 2018 +0000 @@ -0,0 +1,19 @@ +#ifndef INV_CONFIG_H +#define INV_CONFIG_H + + + + + + +#define I_SCALE -0.02014160156f // Amps per A/D Count +#define PWM_ARR 3200 +//#define PWM_ARR 2560 +// 1/(.002*1*20*4096/3.3) + +#define INVERT_MOTOR_DIR false + +#define BRD_MODEL 3 + + +#endif \ No newline at end of file