![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
servo unlock
Fork of Servo_HelloWorld by
Revision 5:1f3b689130af, committed 2017-06-07
- Comitter:
- dll7
- Date:
- Wed Jun 07 05:03:07 2017 +0000
- Parent:
- 4:ea67df2060cd
- Commit message:
- ???????
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r ea67df2060cd -r 1f3b689130af main.cpp --- a/main.cpp Mon May 08 07:43:15 2017 +0000 +++ b/main.cpp Wed Jun 07 05:03:07 2017 +0000 @@ -10,14 +10,14 @@ int main() { printf("start Office Key system\n"); - float range = 0.0005; + float range = 0.0008; servo = 0.9; servo.calibrate(range, 45.0); while(true){ pc.getc(); - servo = 0.3; + servo = 0.2; printf("open"); printf("."); wait(1);