a
Dependents: 3servotest 1stcomp 3rdcompfixstart 2ndcomp ... more
Fork of Servo by
Revision 2:442fae3b1c0e, committed 2016-09-08
- Comitter:
- choutin
- Date:
- Thu Sep 08 03:35:24 2016 +0000
- Parent:
- 1:c8ecfd809e22
- Commit message:
- a
Changed in this revision
servo.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/servo.cpp Wed Sep 07 09:40:58 2016 +0000 +++ b/servo.cpp Thu Sep 08 03:35:24 2016 +0000 @@ -47,7 +47,7 @@ degree=175; i=500+degree*1900/180; - pwmhand.pulsewidth_us(i); + pwmhand.write(i/PERIOD); }