a
Dependents: 3servotest 1stcomp 3rdcompfixstart 2ndcomp ... more
Fork of Servo by
Revision 5:58ef29cb8785, committed 2016-09-10
- Comitter:
- choutin
- Date:
- Sat Sep 10 13:30:10 2016 +0000
- Parent:
- 4:5ae6ed80dc46
- Child:
- 6:b0d581acc298
- Commit message:
- a
Changed in this revision
servo.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/servo.cpp Fri Sep 09 11:40:55 2016 +0000 +++ b/servo.cpp Sat Sep 10 13:30:10 2016 +0000 @@ -55,7 +55,7 @@ pwmhand.period_ms(20); //20ms - degree=130; + degree=134; i=500+degree*1900/180; pwmhand.write(i/PERIOD); @@ -68,7 +68,7 @@ pwmarm.period_ms(20); //20ms - degree=100; + degree=170; i=500+degree*1900/180; pwmarm.write(i/PERIOD); @@ -97,7 +97,7 @@ pwmarm.period_ms(20); //20ms - degree=10; + degree=50; i=500+degree*1900/180; pwmarm.write(i/PERIOD);