![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
customizing code for Aliexpress 14 bit version with MA702
Calibration/calibration.h
- Committer:
- ahmed_lv
- Date:
- 2020-11-10
- Revision:
- 52:af0f52e2ecda
- Parent:
- 47:e1196a851f76
File content as of revision 52:af0f52e2ecda:
#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; void order_phases(PositionSensor *ps, GPIOStruct *gpio, ControllerStruct *controller, PreferenceWriter *prefs); void calibrate(PositionSensor *ps, GPIOStruct *gpio, ControllerStruct *controller, PreferenceWriter *prefs); #endif