Gets user Input to turn the servo to certain degrees

Dependencies:   mbed

Revision:
5:4fddb8f7d5cc
Parent:
4:7f7e27f8d7de
Child:
7:78973b67cd90
diff -r 7f7e27f8d7de -r 4fddb8f7d5cc main.cpp
--- a/main.cpp	Sun Jan 13 22:13:43 2019 +0000
+++ b/main.cpp	Sun Jan 13 22:21:56 2019 +0000
@@ -9,8 +9,7 @@
     userInit();
     while(1){
         userinput = GetKeyInput();
-        moveservo(userinput);
-        
+        moveservo(userinput);   
         
      }
 }
\ No newline at end of file