library motor
Dependencies: Motor_new
Dependents: Project_Plum OnMotor Baca_Program DataMotor ... more
Diff: Motor.cpp
- Revision:
- 3:143494304b66
- Parent:
- 2:11b3ef6b937d
- Child:
- 4:f1b54a118b5e
--- a/Motor.cpp Sun Oct 29 06:04:49 2017 +0000 +++ b/Motor.cpp Thu Dec 21 11:12:28 2017 +0000 @@ -58,3 +58,9 @@ } } + +void Motor::Forcebrake(){ + _pwm = 1.0; + _fwd = 1; + _rev = 1; +}