a
Dependents: 3servotest 1stcomp 3rdcompfixstart 2ndcomp ... more
Fork of Servo by
Diff: servo.cpp
- Revision:
- 6:b0d581acc298
- Parent:
- 5:58ef29cb8785
- Child:
- 7:919db47443f4
diff -r 58ef29cb8785 -r b0d581acc298 servo.cpp --- a/servo.cpp Sat Sep 10 13:30:10 2016 +0000 +++ b/servo.cpp Sun Sep 11 11:39:48 2016 +0000 @@ -55,7 +55,7 @@ pwmhand.period_ms(20); //20ms - degree=134; + degree=137; i=500+degree*1900/180; pwmhand.write(i/PERIOD);