Inductance Testing Code

Dependencies:   mbed

Fork of CurrentModeSine by Austin Brown

Committer:
austinbrown124
Date:
Thu Oct 11 04:13:45 2018 +0000
Revision:
1:64b881306f6f
DINGBAT

Who changed what in which revision?

UserRevisionLine numberNew contents of line
austinbrown124 1:64b881306f6f 1 #ifndef INV_CONFIG_H
austinbrown124 1:64b881306f6f 2 #define INV_CONFIG_H
austinbrown124 1:64b881306f6f 3
austinbrown124 1:64b881306f6f 4
austinbrown124 1:64b881306f6f 5
austinbrown124 1:64b881306f6f 6
austinbrown124 1:64b881306f6f 7
austinbrown124 1:64b881306f6f 8
austinbrown124 1:64b881306f6f 9 #define I_SCALE -0.02014160156f // Amps per A/D Count
austinbrown124 1:64b881306f6f 10 #define PWM_ARR 3200
austinbrown124 1:64b881306f6f 11 //#define PWM_ARR 2560
austinbrown124 1:64b881306f6f 12 // 1/(.002*1*20*4096/3.3)
austinbrown124 1:64b881306f6f 13
austinbrown124 1:64b881306f6f 14 #define INVERT_MOTOR_DIR false
austinbrown124 1:64b881306f6f 15
austinbrown124 1:64b881306f6f 16 #define BRD_MODEL 3
austinbrown124 1:64b881306f6f 17
austinbrown124 1:64b881306f6f 18
austinbrown124 1:64b881306f6f 19 #endif