My fully self designed first stable working Quadrocopter Software.

Dependencies:   mbed

Dependents:   fluy343

/media/uploads/maetugr/dsc09031.jpg

Revision:
5:06e978fd147a
Parent:
1:5e2b81f2d0b4
--- a/Servo_PWM/Servo_PWM.h	Sat Feb 15 14:28:11 2014 +0000
+++ b/Servo_PWM/Servo_PWM.h	Sun Jul 06 05:51:25 2014 +0000
@@ -1,39 +1,39 @@
-// by MaEtUgR
-
-#ifndef SERVO_PWM_H
-#define SERVO_PWM_H
-
-#include "mbed.h"
-
-/** Class to control a servo by using PWM
- */
-
-class Servo_PWM {
-
-public:
-    /** Create a new Servo object on any PWM pin
-     *
-     * @param Pin Pin on mbed to connect servo to
-     */
-    Servo_PWM(PinName Pin, int frequency);
-    
-    void SetFrequency(int frequency);
-    
-    /** Change the position of the servo. Position in us
-     *
-     * @param position The new value of the servos position between 0 and 1000 (gets 1000-2000) (us)
-     */
-    void SetPosition(int position);
-    
-    /** Operator for confortable positioning
-     *
-     * @param position see SetPosition
-     */
-    void operator=(int position);
-
-private:
-    PwmOut ServoPin;
-    
-};
-
+// by MaEtUgR
+
+#ifndef SERVO_PWM_H
+#define SERVO_PWM_H
+
+#include "mbed.h"
+
+/** Class to control a servo by using PWM
+ */
+
+class Servo_PWM {
+
+public:
+    /** Create a new Servo object on any PWM pin
+     *
+     * @param Pin Pin on mbed to connect servo to
+     */
+    Servo_PWM(PinName Pin, int frequency);
+    
+    void SetFrequency(int frequency);
+    
+    /** Change the position of the servo. Position in us
+     *
+     * @param position The new value of the servos position between 0 and 1000 (gets 1000-2000) (us)
+     */
+    void SetPosition(int position);
+    
+    /** Operator for confortable positioning
+     *
+     * @param position see SetPosition
+     */
+    void operator=(int position);
+
+private:
+    PwmOut ServoPin;
+    
+};
+
 #endif
\ No newline at end of file