QC Control software

Dependencies:   mbed

Fork of dgps by Colin Stearns

Committer:
dylanembed123
Date:
Thu Apr 03 17:15:29 2014 +0000
Revision:
9:da906eeac51e
Parent:
8:28b866df62cf
Fix compile errors

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dylanembed123 9:da906eeac51e 1 #include "mbed.h"
dylanembed123 9:da906eeac51e 2
stearnsc 8:28b866df62cf 3 class FlightControl{
stearnsc 8:28b866df62cf 4 public:
dylanembed123 9:da906eeac51e 5 void startPwm();
dylanembed123 9:da906eeac51e 6 void stopPwm();
stearnsc 8:28b866df62cf 7 //-500 means full back; 500 means full forward
stearnsc 8:28b866df62cf 8 void setPitch(int vel);
stearnsc 8:28b866df62cf 9
stearnsc 8:28b866df62cf 10 //-500 means full left; 500 means full right
stearnsc 8:28b866df62cf 11 void setRoll(int vel);
stearnsc 8:28b866df62cf 12
stearnsc 8:28b866df62cf 13 //0 means no throttle, 1000 means full throttle
stearnsc 8:28b866df62cf 14 void setThrottle(int throttle);
stearnsc 8:28b866df62cf 15
stearnsc 8:28b866df62cf 16 void setArmState(bool arm);
stearnsc 8:28b866df62cf 17
stearnsc 8:28b866df62cf 18 void setHoldAltitude(bool hold);
dylanembed123 9:da906eeac51e 19 };