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.h
- Revision:
- 4:c023f7b6f462
- Parent:
- 0:4e1c4df6aabd
- Child:
- 5:51c6560bf624
--- a/CurrentRegulator/CurrentRegulator.h Wed Mar 09 04:00:48 2016 +0000 +++ b/CurrentRegulator/CurrentRegulator.h Sat Mar 12 08:04:51 2016 +0000 @@ -15,10 +15,12 @@ void SampleCurrent(); void SetVoltage(); void Update(); + void SendSPI(); Inverter* _Inverter; PositionSensor* _PositionSensor; SPWM* PWM; - int count; + //Serial* pc; + //int count;