the fish that looks like a jet
Dependencies: ADXL345 ADXL345_I2C IMUfilter ITG3200 mbed Servo
Diff: MainController.h
- Revision:
- 13:5ed8fd870723
- Parent:
- 12:7eeb29892625
- Child:
- 15:dc5753a5b83e
diff -r 7eeb29892625 -r 5ed8fd870723 MainController.h --- a/MainController.h Sat Feb 01 00:03:40 2014 +0000 +++ b/MainController.h Mon Feb 03 21:04:35 2014 +0000 @@ -46,6 +46,7 @@ float calculateFrequency(); float calculateVolume(); float calculateRudder(); + float signum(float input); private: PwmIn ch3; @@ -65,7 +66,8 @@ float frqMax; float amplitude; float rud; - float frqmxsqrt; + float goofftime; + bool switched; }; #endif