My modifications/additions to the code

Dependencies:   ADXL345 ADXL345_I2C IMUfilter ITG3200 Servo fishgait mbed-rtos mbed pixy_cam

Fork of robotic_fish_ver_4_8 by jetfishteam

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers guardian.h Source File

guardian.h

00001 #pragma once
00002 #include "mbed.h"
00003 #include "Servo.h"
00004 
00005 class Guardian
00006 {
00007 private:
00008     Servo mod, gain;
00009 public:
00010     Guardian(PinName modpin,PinName gainpin);
00011     void set2D();
00012     void set3D();
00013     void setoff();
00014     void calibrate();
00015     void setmod(float val);
00016     void setgain(float val);
00017 };