123487
Dependencies: mbed-dev-f303 FastPWM3
Calibration/calibration.h
- Committer:
- shaorui
- Date:
- 2020-01-02
- Revision:
- 56:9353ebcf19c6
- Parent:
- 47:e1196a851f76
- Child:
- 58:bed739c83fac
File content as of revision 56:9353ebcf19c6:
#ifndef CALIBRATION_H #define CALIBRATION_H #include "foc.h" #include "mbed.h" #include "PositionSensor.h" #include "PreferenceWriter.h" #include "user_config.h" //#define V_CAL 0.15f; #define V_CAL 0.18f; void order_phases(PositionSensor *ps, GPIOStruct *gpio, ControllerStruct *controller, PreferenceWriter *prefs); void calibrate(PositionSensor *ps, GPIOStruct *gpio, ControllerStruct *controller, PreferenceWriter *prefs); #endif