Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: config.h
- Revision:
- 10:f49df0fe0382
- Parent:
- 9:074575151e4b
- Child:
- 12:5723a4fa5864
diff -r 074575151e4b -r f49df0fe0382 config.h --- 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