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.
Revision 5:35a85d9524f1, committed 2020-09-07
- Comitter:
- kenya8787
- Date:
- Mon Sep 07 08:29:40 2020 +0000
- Parent:
- 4:f56d1fb53d9b
- Commit message:
- for test CQ KIT Rect 120deg
Changed in this revision
| BLDCmotorDriver.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/BLDCmotorDriver.cpp Wed Oct 12 08:16:28 2016 +0000
+++ b/BLDCmotorDriver.cpp Mon Sep 07 08:29:40 2020 +0000
@@ -3,7 +3,8 @@
BLDCmotorDriver::BLDCmotorDriver(PinName pGH_A, PinName pGH_B, PinName pGH_C, PinName pGL_A, PinName pGL_B, PinName pGL_C,
PinName pH1, PinName pH2, PinName pH3, PinName pFault) :
GH_A(pGH_A), GH_B(pGH_B), GH_C(pGH_C), GL_A(pGL_A), GL_B(pGL_B), GL_C(pGL_C),
- H1(pH1), H2(pH2), H3(pH3), Fault(LED1){
+// H1(pH1), H2(pH2), H3(pH3), Fault(LED1){
+ H1(pH3), H2(pH2), H3(pH1), Fault(LED1){ // for mitsuba kit motor
sampleTime = 1e-3;
switchingPeriod = 1.0 / 20e3;