the fish that looks like a jet
Dependencies: ADXL345 ADXL345_I2C IMUfilter ITG3200 mbed Servo
Diff: guardian.h
- Revision:
- 2:430c068cf570
- Child:
- 5:090ef6275773
diff -r ff9bc5f69c57 -r 430c068cf570 guardian.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/guardian.h Fri Jan 24 21:55:00 2014 +0000 @@ -0,0 +1,26 @@ +#pragma once +#include "mbed.h" +#include "Servo.h" + +class Guardian +{ +private: +Servo* ail; +Servo* mod; +Servo* elv; +Servo* rud; +Servo* aux; +Servo* gain; +public: +Guardian(PinName ailpin, PinName modpin, PinName elvpin, PinName rudpin, PinName auxpin, PinName gainpin); +~Guardian(); +void set2D(); +void set3D(); +void setoff(); +void calibrate(); +void setail(float val); +void setmod(float val); +void setelv(float val); +void setrud(float val); +void setaux(float val); +}; \ No newline at end of file