6.1 Servo Richtung, Tasten links, rechts.

Dependencies:   Servo mbed

Fork of 06-01-Uebung by th.iotkit1.ch

Revision:
2:020a412befb4
Parent:
1:41961321aa61
diff -r 41961321aa61 -r 020a412befb4 main.cpp
--- a/main.cpp	Wed Apr 29 18:09:40 2015 +0000
+++ b/main.cpp	Wed May 20 14:49:48 2015 +0000
@@ -11,6 +11,9 @@
 
 int main()
 {
+    // Servo kalibrieren, damit er die vollen 180° verwendet.
+    servo1.calibrate ( 0.0009, 180.0);
+    
     // Mittelstellung
     servo1 = 0.5f;