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
Diff: CurrentRegulator/CurrentRegulator.cpp
- Revision:
- 3:6a0015d88d06
- Parent:
- 2:8724412ad628
- Child:
- 4:c023f7b6f462
--- a/CurrentRegulator/CurrentRegulator.cpp Fri Feb 19 04:13:06 2016 +0000 +++ b/CurrentRegulator/CurrentRegulator.cpp Wed Mar 09 04:00:48 2016 +0000 @@ -11,7 +11,7 @@ _Inverter = inverter; PWM = new SPWM(inverter, 2.0); _PositionSensor = position_sensor; - IQ_Ref = 5; + IQ_Ref = 1; ID_Ref = 0; V_Q = 0; V_D = 0;