CQ_KIT_Ver1_5
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;