test

Dependencies:   Servo

Files at this revision

API Documentation at this revision

Comitter:
gorazdko
Date:
Sun Jun 02 09:32:45 2019 +0000
Parent:
46:f7d5c27c09f5
Child:
48:4ac030bc2910
Commit message:
180 degrees

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sun Jun 02 09:31:21 2019 +0000
+++ b/main.cpp	Sun Jun 02 09:32:45 2019 +0000
@@ -54,9 +54,10 @@
     {
         
         
+        
       myServo.pulsewidth_us(MIN); //NB in microseconds
       wait(2);
-      myServo.pulsewidth_us(MID); //NB in microseconds
+      myServo.pulsewidth_us(MAX); //NB in microseconds
       wait(0.1);
     }