Inductance Testing Code

Dependencies:   mbed

Fork of CurrentModeSine by Austin Brown

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers inv_config.h Source File

inv_config.h

00001 #ifndef INV_CONFIG_H
00002 #define INV_CONFIG_H
00003 
00004 
00005 
00006 
00007 
00008 
00009 #define I_SCALE -0.02014160156f  // Amps per A/D Count
00010 #define PWM_ARR 3200
00011 //#define PWM_ARR 2560
00012 //    1/(.002*1*20*4096/3.3) 
00013 
00014 #define INVERT_MOTOR_DIR false
00015 
00016 #define BRD_MODEL 3
00017 
00018 
00019 #endif