Motor2
Fork of Motor by
Diff: Motor.cpp
- Revision:
- 2:ef4a9c047681
- Parent:
- 1:4ab6e9768847
- Child:
- 3:dea2df71cb97
--- a/Motor.cpp Tue Jul 21 08:11:59 2015 +0000 +++ b/Motor.cpp Tue Aug 18 04:44:54 2015 +0000 @@ -7,7 +7,8 @@ motor(_pin_h1,_pin_g2,_pin_g1,_pin_h2),PwmPin(_pwm) { max=Max; - PwmPin.period_ms(1); + //this + PwmPin.period_ms(10); run(Stop,1); } void Motor::setup(int _state)