TVZ Mechatronics Team / BLDCmotorDriver

Dependents:   BLDC_mainProgram STMF302R8_MotorDrive HelloWorld_IHM07M1

Files at this revision

API Documentation at this revision

Comitter:
avilei
Date:
Wed Oct 12 08:16:28 2016 +0000
Parent:
3:a4b4a8e3f2a0
Commit message:
Make members protected to allow C++ inheritance

Changed in this revision

BLDCmotorDriver.h Show annotated file Show diff for this revision Revisions of this file
--- a/BLDCmotorDriver.h	Mon Jun 01 13:47:23 2015 +0000
+++ b/BLDCmotorDriver.h	Wed Oct 12 08:16:28 2016 +0000
@@ -11,7 +11,7 @@
         int getSector();
         void ispis();
         
-    private:
+    protected:
         PwmOut GH_A, GH_B, GH_C;
         DigitalOut GL_A, GL_B, GL_C; // Low-side gates are never PWM driven
         InterruptIn H1; // InterruptIn can be used on all pins except p19 and p20