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.
Dependencies: mbed-dev-f303 FastPWM3
Calibration/calibration.h@52:50946a16216d, 2020-05-25 (annotated)
- Committer:
- guoyanhong
- Date:
- Mon May 25 00:51:54 2020 +0000
- Revision:
- 52:50946a16216d
- Parent:
- 47:e1196a851f76
modify foc.cpp
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
benkatz | 22:60276ba87ac6 | 1 | #ifndef CALIBRATION_H |
benkatz | 22:60276ba87ac6 | 2 | #define CALIBRATION_H |
benkatz | 22:60276ba87ac6 | 3 | |
benkatz | 22:60276ba87ac6 | 4 | #include "foc.h" |
benkatz | 22:60276ba87ac6 | 5 | #include "mbed.h" |
benkatz | 22:60276ba87ac6 | 6 | #include "PositionSensor.h" |
benkatz | 23:2adf23ee0305 | 7 | #include "PreferenceWriter.h" |
benkatz | 23:2adf23ee0305 | 8 | #include "user_config.h" |
benkatz | 22:60276ba87ac6 | 9 | |
benkatz | 47:e1196a851f76 | 10 | #define V_CAL 0.15f; |
benkatz | 47:e1196a851f76 | 11 | |
benkatz | 22:60276ba87ac6 | 12 | |
benkatz | 23:2adf23ee0305 | 13 | void order_phases(PositionSensor *ps, GPIOStruct *gpio, ControllerStruct *controller, PreferenceWriter *prefs); |
benkatz | 23:2adf23ee0305 | 14 | void calibrate(PositionSensor *ps, GPIOStruct *gpio, ControllerStruct *controller, PreferenceWriter *prefs); |
benkatz | 22:60276ba87ac6 | 15 | #endif |