code to fly a quadrocopter

Dependencies:   mbed

Committer:
DD1993
Date:
Tue May 05 21:11:38 2020 +0000
Revision:
0:b0f9c5ac0305
initial

Who changed what in which revision?

UserRevisionLine numberNew contents of line
DD1993 0:b0f9c5ac0305 1 #ifndef MBED_DEGPWM_H
DD1993 0:b0f9c5ac0305 2 #define MBED_DEGPWM_H
DD1993 0:b0f9c5ac0305 3
DD1993 0:b0f9c5ac0305 4 #include "mbed.h"
DD1993 0:b0f9c5ac0305 5
DD1993 0:b0f9c5ac0305 6
DD1993 0:b0f9c5ac0305 7 class Degpwm {
DD1993 0:b0f9c5ac0305 8
DD1993 0:b0f9c5ac0305 9 public:
DD1993 0:b0f9c5ac0305 10 int pitch_pwm(float pitch_error);
DD1993 0:b0f9c5ac0305 11 int roll_pwm(float roll_error);
DD1993 0:b0f9c5ac0305 12 int yaw_pwm(float yaw_error);
DD1993 0:b0f9c5ac0305 13
DD1993 0:b0f9c5ac0305 14 protected:
DD1993 0:b0f9c5ac0305 15
DD1993 0:b0f9c5ac0305 16 };
DD1993 0:b0f9c5ac0305 17 #endif