Jared DiCarlo
/
foc-ed_in_the_bot_compact
working version
Fork of foc-ed_in_the_bot_compact by
Diff: config.h
- Revision:
- 10:f49df0fe0382
- Parent:
- 9:074575151e4b
- Child:
- 12:5723a4fa5864
--- a/config.h Tue May 17 06:44:09 2016 +0000 +++ b/config.h Thu May 19 09:30:55 2016 +0000 @@ -1,10 +1,12 @@ #ifndef __CONFIG_H #define __CONFIG_H -#define CPR 4096 -#define POS_OFFSET 5.3f +#define POS_OFFSET 1.73f #define POLE_PAIRS 3.0f #define RESOLVER_LOBES 3.0f +#define CURRENT_U ia +#define CURRENT_V ib +#define CPR 4096 #define PWMA PA_8 #define PWMB PA_9