ECE 111 At Oregon State University / Mbed 2 deprecated Lab4_Basic

Dependencies:   mbed

Revision:
2:538f0e257365
Parent:
1:4040dba1ef4c
--- a/Motor.h	Fri Aug 19 02:10:52 2016 +0000
+++ b/Motor.h	Fri Oct 21 16:39:10 2016 +0000
@@ -28,7 +28,7 @@
      * @param  Speed  PWM output -> EN1,2 on L293DNE
      *
      */
-    Motor (PinName Positive, PinName Negative,PinName Speed);
+    Motor (PinName Positive, PinName Negative);
     
     /** control the direction of the movement  
      *
@@ -50,9 +50,8 @@
     void Speed(int motor_speed);
     
 protected:
-     DigitalOut _positive;
-     DigitalOut _negative;
-     PwmOut     _speed;
+     PwmOut  _positive;
+     PwmOut  _negative;
 };
  
 #endif