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.
Dependents: Tourobo2022_TBCMotorDriver
Revision 1:30665f088188, committed 2020-04-08
- Comitter:
- YutaTogashi
- Date:
- Wed Apr 08 07:49:37 2020 +0000
- Parent:
- 0:db4f58345725
- Commit message:
- 20200408 addComment
Changed in this revision
motorDrive_SMB.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/motorDrive_SMB.cpp Wed Mar 25 09:22:53 2020 +0000 +++ b/motorDrive_SMB.cpp Wed Apr 08 07:49:37 2020 +0000 @@ -3,6 +3,7 @@ motorDriveSMB::motorDriveSMB (PinName PwmH,PinName Phase) : pwmh(PwmH),phase(Phase) { lowerLimitDuty = -1.0f; upperLimitDuty = 1.0f; + phase.write(false); } void motorDriveSMB::setupFrequency(float frequency) {