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:
- 12:5723a4fa5864
- Parent:
- 10:f49df0fe0382
- Child:
- 13:41d102a53caf
--- a/config.h Tue May 24 02:35:41 2016 +0000 +++ b/config.h Sun Oct 30 01:37:30 2016 +0000 @@ -1,15 +1,15 @@ #ifndef __CONFIG_H #define __CONFIG_H -#define POS_OFFSET 1.73f +#define POS_OFFSET 1.49f //1.73f #define POLE_PAIRS 3.0f #define RESOLVER_LOBES 3.0f -#define CURRENT_U ia -#define CURRENT_V ib +#define CURRENT_U ib +#define CURRENT_V ia #define CPR 4096 -#define PWMA PA_8 -#define PWMB PA_9 +#define PWMA PA_9 +#define PWMB PA_8 #define PWMC PA_10 #define EN PB_15