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
- Committer:
- shaorui
- Date:
- 2020-10-23
- Revision:
- 54:e201ae25e467
- Parent:
- 48:1b51771c3647
File content as of revision 54:e201ae25e467:
#ifndef CALIBRATION_H #define CALIBRATION_H #include "foc.h" #include "mbed.h" #include "PositionSensor.h" #include "PreferenceWriter.h" #include "user_config.h" #include "MA700Sensor.h" void order_phases(PositionSensor *ps, GPIOStruct *gpio, ControllerStruct *controller, PreferenceWriter *prefs); void calibrate(PositionSensor *ps, GPIOStruct *gpio, ControllerStruct *controller, PreferenceWriter *prefs); //void j_calibrate(PositionSensorMA700 *jps,PositionSensorAM5147 *ps, GPIOStruct *gpio, ControllerStruct *controller, PreferenceWriter *prefs); void j_calibrate(PositionSensorMA700 *jps, GPIOStruct *gpio, ControllerStruct *controller, PreferenceWriter *prefs); #endif