motor i senzor
Dependencies: TextLCD mbed PinDetect
Diff: MotorDrivers/Motor.h
- Revision:
- 4:03b68322905f
- Parent:
- 3:bebfc64cefe4
diff -r bebfc64cefe4 -r 03b68322905f MotorDrivers/Motor.h --- a/MotorDrivers/Motor.h Sat Nov 09 13:44:18 2013 +0000 +++ b/MotorDrivers/Motor.h Sat Nov 09 18:35:13 2013 +0000 @@ -15,8 +15,7 @@ DigitalOut positiveOut, negativeOut; PwmOut pwmOut; short direction; - void move(); - bool _isMoving; + void start(); public: Motor(PinName, PinName, PinName);