![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
code to fly a quadrocopter
Diff: PWM/degpwm.h
- Revision:
- 0:b0f9c5ac0305
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PWM/degpwm.h Tue May 05 21:11:38 2020 +0000 @@ -0,0 +1,17 @@ +#ifndef MBED_DEGPWM_H +#define MBED_DEGPWM_H + +#include "mbed.h" + + +class Degpwm { + +public: + int pitch_pwm(float pitch_error); + int roll_pwm(float roll_error); + int yaw_pwm(float yaw_error); + +protected: + +}; +#endif