sn754410
Diff: motor.h
- Revision:
- 9:40d0087ec663
- Parent:
- 7:42c478f9a1fe
--- a/motor.h Thu Jul 11 13:29:17 2019 +0000 +++ b/motor.h Wed Aug 07 13:39:14 2019 +0000 @@ -10,7 +10,7 @@ { public: - MotorCtl(PinName Pwm, PinName Dir, PinName tachoA, PinName tachoB); + MotorCtl(PinName Pwm, BusOut &Dir, PinName tachoA, PinName tachoB); ~MotorCtl(); @@ -41,7 +41,7 @@ private: PwmOut _pwm; - DigitalOut _Dir; + BusOut _Dir; DigitalInOut _tachoA; DigitalInOut _tachoB; Ticker _tick;