20200821_motacon_ver4
Diff: BLDCmotorDriver.h
- Revision:
- 4:f56d1fb53d9b
- Parent:
- 3:a4b4a8e3f2a0
--- 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