servo unlock

Dependencies:   Servo mbed

Fork of Servo_HelloWorld by Simon Ford

Files at this revision

API Documentation at this revision

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
--- 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);