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.
Config/motor_config.h
- Committer:
- benkatz
- Date:
- 2017-04-09
- Revision:
- 25:f5741040c4bb
- Parent:
- 22:60276ba87ac6
- Child:
- 26:2b865c00d7e9
File content as of revision 25:f5741040c4bb:
#ifndef MOTOR_CONFIG_H #define MOTOR_CONFIG_H #define R_PHASE 0.105f //Ohms #define L_D 0.00003f //Henries #define L_Q 0.00003f //Henries #define KT .07f //N-m per peak phase amp (= RMS amps/1.5) #define NPP 21 //Number of pole pairs #define WB KT/NPP //Webers. #endif