force brake add

Dependents:   risetarm Encoder Taker_KRAI BacaMotor ... more

Fork of Motor by KRAI 2018

Revision:
3:143494304b66
Parent:
1:c75b234558af
Child:
4:f1b54a118b5e
--- a/Motor.h	Sun Oct 29 06:04:49 2017 +0000
+++ b/Motor.h	Thu Dec 21 11:12:28 2017 +0000
@@ -64,6 +64,11 @@
      * Brake to VCC => inA = inB = 1
      */
     void brake(int highLow = BRAKE_HIGH);
+    
+    /**
+    *Brake lebih baik
+    **/
+    void Forcebrake();
 
 protected:
     PwmOut _pwm;